import 'package:json_annotation/json_annotation.dart'; part 'Plot.g.dart'; @JsonSerializable() class Plot { Plot(); num id; String qrCode; String code; num areaM2; num type; String startDate; String endDate; String status; String description; num ageDayStartAt; num tbSuppliesId; String suppliesName; num tbGuidelineId; num netHouseId; String netHouseName; num areaId; String area; factory Plot.fromJson(Map json) => _$PlotFromJson(json); Map toJson() => _$PlotToJson(this); }