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
734 B

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'goods_item.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
3 years ago
GoodsItem _$GoodsItemFromJson(Map<String, dynamic> json) => 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(),
);