Wow, fuck autogenerators
This commit is contained in:
parent
ebfafea617
commit
2d44d22f5f
46 changed files with 630 additions and 3139 deletions
23
lib/src/model/item_update.dart
Normal file
23
lib/src/model/item_update.dart
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'item_update.g.dart';
|
||||
|
||||
/// ItemUpdate
|
||||
///
|
||||
/// Properties:
|
||||
/// * [item]
|
||||
/// * [oldItem]
|
||||
@JsonSerializable()
|
||||
class ItemUpdate {
|
||||
final Map<String, String> item;
|
||||
final Map<String, String> oldItem;
|
||||
|
||||
const ItemUpdate({
|
||||
required this.item,
|
||||
required this.oldItem,
|
||||
});
|
||||
|
||||
factory ItemUpdate.fromJson(Map<String, dynamic> json) =>
|
||||
_$ItemUpdateFromJson(json);
|
||||
Map<String, dynamic> toJson() => _$ItemUpdateToJson(this);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue