mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
experimental/web_dashboard fix for deprecated annotations (#1581)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user