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.
34 lines
1.1 KiB
34 lines
1.1 KiB
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'credit_goods.dart'; |
|
|
|
// ************************************************************************** |
|
// JsonSerializableGenerator |
|
// ************************************************************************** |
|
|
|
CreditGoods _$CreditGoodsFromJson(Map<String, dynamic> json) { |
|
return CreditGoods() |
|
..hasNextPage = json['hasNextPage'] as bool |
|
..hasPreviousPage = json['hasPreviousPage'] as bool |
|
..list = (json['list'] as List) |
|
?.map( |
|
(e) => e == null ? null : Goods.fromJson(e as Map<String, dynamic>)) |
|
?.toList() |
|
..pageNum = json['pageNum'] as int |
|
..pageSize = json['pageSize'] as int |
|
..pages = json['pages'] as int |
|
..size = json['size'] as int |
|
..total = json['total'] as int; |
|
} |
|
|
|
Map<String, dynamic> _$CreditGoodsToJson(CreditGoods instance) => |
|
<String, dynamic>{ |
|
'hasNextPage': instance.hasNextPage, |
|
'hasPreviousPage': instance.hasPreviousPage, |
|
'list': instance.list, |
|
'pageNum': instance.pageNum, |
|
'pageSize': instance.pageSize, |
|
'pages': instance.pages, |
|
'size': instance.size, |
|
'total': instance.total, |
|
};
|
|
|