date to string
parent
de5815c71c
commit
9a13cfb9f1
|
@ -15,9 +15,9 @@ class Mood implements DatabaseRecord {
|
||||||
@override
|
@override
|
||||||
Map<String, dynamic> toMap() {
|
Map<String, dynamic> toMap() {
|
||||||
return {
|
return {
|
||||||
'moodValue': _moodValue,
|
'value': _moodValue,
|
||||||
'comment': _comment,
|
'comment': _comment,
|
||||||
'date': _date,
|
'date': _date.toIso8601String(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue