// GENERATED CODE - DO NOT MODIFY BY HAND part of 'exchange_order.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** ExchangeOrder _$ExchangeOrderFromJson(Map json) { return ExchangeOrder() ..id = json['id'] as String ..createTime = json['createTime'] as String ..createUser = json['createUser'] as String ..updateTime = json['updateTime'] as String ..updateUser = json['updateUser'] as String ..storeId = json['storeId'] as String ..mid = json['mid'] as String ..orderCode = json['orderCode'] as String ..amount = json['amount'] as String ..state = json['state'] as int ..useTyped = json['useTyped'] as int ..isDelete = json['isDelete'] as int ..creditOrderDetailList = (json['creditOrderDetailList'] as List) ?.map((e) => e == null ? null : ExchangeOrderGoods.fromJson(e as Map)) ?.toList(); } Map _$ExchangeOrderToJson(ExchangeOrder instance) => { 'id': instance.id, 'createTime': instance.createTime, 'createUser': instance.createUser, 'updateTime': instance.updateTime, 'updateUser': instance.updateUser, 'storeId': instance.storeId, 'mid': instance.mid, 'orderCode': instance.orderCode, 'amount': instance.amount, 'state': instance.state, 'useTyped': instance.useTyped, 'isDelete': instance.isDelete, 'creditOrderDetailList': instance.creditOrderDetailList, };