added proper true/false value for boolean column
This commit is contained in:
parent
df3e6b8e51
commit
f9ecd40a10
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class PracticeAnswer {
|
||||||
return <String, dynamic>{
|
return <String, dynamic>{
|
||||||
"question": question,
|
"question": question,
|
||||||
"answer": answer,
|
"answer": answer,
|
||||||
"correct": correct,
|
"correct": correct ? 1 : 0,
|
||||||
"time": timeFormat,
|
"time": timeFormat,
|
||||||
"sessionId": sessionId
|
"sessionId": sessionId
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue