| 1234567891011121314151617 |
- import 'package:json_annotation/json_annotation.dart';
- part 'product.g.dart';
- @JsonSerializable()
- class Product {
- Product();
- num id;
- String image;
- String price;
- String vip_price;
- String store_name;
-
- factory Product.fromJson(Map<String,dynamic> json) => _$ProductFromJson(json);
- Map<String, dynamic> toJson() => _$ProductToJson(this);
- }
|