`experimental/web_dashboard` fix for deprecated annotations (#1581)

pull/1582/head
Brett Morgan 2 years ago committed by GitHub
parent 7739686105
commit e2a6ac66d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,7 +48,7 @@ abstract class EntryApi {
class Category {
String name;
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false)
String? id;
Category(this.name);
@ -75,7 +75,7 @@ class Entry {
@JsonKey(fromJson: _timestampToDateTime, toJson: _dateTimeToTimestamp)
DateTime time;
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false)
String? id;
Entry(this.value, this.time);

Loading…
Cancel
Save