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.
22 lines
724 B
22 lines
724 B
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'goods_item.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
GoodsItem _$GoodsItemFromJson(Map<String, dynamic> json) {
|
|
return GoodsItem(
|
|
id: json['id'] as int,
|
|
title: json['title'] as String,
|
|
recommend: json['recommend'] as String,
|
|
sellingPrice: json['sellingPrice'] as num,
|
|
markingPrice: json['markingPrice'] as num,
|
|
subscribeNum: json['subscribeNum'] as int,
|
|
imgList: (json['imgList'] as List<dynamic>)
|
|
.map((e) => ImgModel.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
);
|
|
}
|