Wow, fuck autogenerators

This commit is contained in:
Andrew 2023-04-25 02:03:12 +07:00
parent ebfafea617
commit 2d44d22f5f
46 changed files with 630 additions and 3139 deletions

View 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);
}