import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/platter.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/platter.g.dart'; @JsonSerializable() class Platter { bool? deleted = false; int? id = 0; int? productId = 0; bool? required = false; int? skuId = 0; Platter(); factory Platter.fromJson(Map json) => $PlatterFromJson(json); Map toJson() => $PlatterToJson(this); @override String toString() { return jsonEncode(this); } }