// GENERATED CODE - DO NOT MODIFY BY HAND part of 'logistics.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Logistics _$LogisticsFromJson(Map json) => Logistics() ..logisticCode = json['logisticCode'] as String? ..shipperCode = json['shipperCode'] as String? ..state = (json['state'] as num?)?.toInt() ..success = json['success'] as bool? ..traces = (json['traces'] as List?) ?.map((e) => Traces.fromJson(e as Map)) .toList(); Map _$LogisticsToJson(Logistics instance) => { 'logisticCode': instance.logisticCode, 'shipperCode': instance.shipperCode, 'state': instance.state, 'success': instance.success, 'traces': instance.traces?.map((e) => e.toJson()).toList(), }; Traces _$TracesFromJson(Map json) => Traces() ..acceptStation = json['acceptStation'] as String? ..acceptTime = json['acceptTime'] as String?; Map _$TracesToJson(Traces instance) => { 'acceptStation': instance.acceptStation, 'acceptTime': instance.acceptTime, };