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.
42 lines
1.7 KiB
42 lines
1.7 KiB
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'trade_summary.dart'; |
|
|
|
// ************************************************************************** |
|
// JsonSerializableGenerator |
|
// ************************************************************************** |
|
|
|
TradeSummary _$TradeSummaryFromJson(Map<String, dynamic> json) => TradeSummary() |
|
..saleBusinessAnalysisVOS = (json['saleBusinessAnalysisVOS'] |
|
as List<dynamic>?) |
|
?.map((e) => SaleBusinessAnalysisVOS.fromJson(e as Map<String, dynamic>)) |
|
.toList() |
|
..collectionAmount = json['collectionAmount'] as String? |
|
..collectionCount = (json['collectionCount'] as num?)?.toInt() |
|
..refundAmount = json['refundAmount'] as String? |
|
..refundCount = (json['refundCount'] as num?)?.toInt(); |
|
|
|
Map<String, dynamic> _$TradeSummaryToJson(TradeSummary instance) => |
|
<String, dynamic>{ |
|
'saleBusinessAnalysisVOS': |
|
instance.saleBusinessAnalysisVOS?.map((e) => e.toJson()).toList(), |
|
'collectionAmount': instance.collectionAmount, |
|
'collectionCount': instance.collectionCount, |
|
'refundAmount': instance.refundAmount, |
|
'refundCount': instance.refundCount, |
|
}; |
|
|
|
SaleBusinessAnalysisVOS _$SaleBusinessAnalysisVOSFromJson( |
|
Map<String, dynamic> json) => |
|
SaleBusinessAnalysisVOS() |
|
..localDateTime = json['localDateTime'] as String? |
|
..localDateBigDecimal = json['localDateBigDecimal'] as String? |
|
..localDateCount = json['localDateCount'] as String?; |
|
|
|
Map<String, dynamic> _$SaleBusinessAnalysisVOSToJson( |
|
SaleBusinessAnalysisVOS instance) => |
|
<String, dynamic>{ |
|
'localDateTime': instance.localDateTime, |
|
'localDateBigDecimal': instance.localDateBigDecimal, |
|
'localDateCount': instance.localDateCount, |
|
};
|
|
|