You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
431 B
20 lines
431 B
import 'package:huixiang/data/good_list.dart'; |
|
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'farmers.g.dart'; |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
class Farmers { |
|
List<GoodList>? goodList = []; |
|
String? typeName = ''; |
|
String? agriculturaListImg = ''; |
|
|
|
Farmers(); |
|
|
|
factory Farmers.fromJson(Map<String, dynamic> json) => _$FarmersFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$FarmersToJson(this); |
|
|
|
|
|
} |
|
|
|
|