added proper true/false value for boolean column

This commit is contained in:
BroodjeAap 2020-11-09 21:48:34 +01:00
parent df3e6b8e51
commit f9ecd40a10

View file

@ -20,7 +20,7 @@ class PracticeAnswer {
return <String, dynamic>{
"question": question,
"answer": answer,
"correct": correct,
"correct": correct ? 1 : 0,
"time": timeFormat,
"sessionId": sessionId
};