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