diff --git a/lib/src/model/item_update.dart b/lib/src/model/item_update.dart index 72c79cf..b266fd4 100644 --- a/lib/src/model/item_update.dart +++ b/lib/src/model/item_update.dart @@ -9,8 +9,8 @@ part 'item_update.g.dart'; /// * [oldItem] @JsonSerializable() class ItemUpdate { - final Map item; - final Map oldItem; + final Map item; + final Map oldItem; const ItemUpdate({ required this.item, diff --git a/lib/src/model/item_update.g.dart b/lib/src/model/item_update.g.dart index 5e43af1..02e0795 100644 --- a/lib/src/model/item_update.g.dart +++ b/lib/src/model/item_update.g.dart @@ -7,8 +7,8 @@ part of 'item_update.dart'; // ************************************************************************** ItemUpdate _$ItemUpdateFromJson(Map json) => ItemUpdate( - item: Map.from(json['item'] as Map), - oldItem: Map.from(json['oldItem'] as Map), + item: json['item'] as Map, + oldItem: json['oldItem'] as Map, ); Map _$ItemUpdateToJson(ItemUpdate instance) =>