DiaryEntry.fromJson constructor
Creates a DiaryEntry from a JSON map.
Implementation
factory DiaryEntry.fromJson(Map<String, dynamic> json) {
return DiaryEntry.fromMap(json['id'], json);
}
Creates a DiaryEntry from a JSON map.
factory DiaryEntry.fromJson(Map<String, dynamic> json) {
return DiaryEntry.fromMap(json['id'], json);
}