// GENERATED CODE - DO NOT MODIFY BY HAND part of 'exchange_order.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** ExchangeOrder _$ExchangeOrderFromJson(Map json) => 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? ..money = json['money'] as String? ..payStatus = (json['payStatus'] as num?)?.toInt() ..payType = (json['payType'] as num?)?.toInt() ..sendStatus = (json['sendStatus'] as num?)?.toInt() ..address = json['address'] as String? ..storeName = json['storeName'] as String? ..recAddress = json['recAddress'] as String? ..state = (json['state'] as num?)?.toInt() ..useTyped = (json['useTyped'] as num?)?.toInt() ..isDelete = (json['isDelete'] as num?)?.toInt() ..creditOrderDetailList = (json['creditOrderDetailList'] as List?) ?.map((e) => 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, 'money': instance.money, 'payStatus': instance.payStatus, 'payType': instance.payType, 'sendStatus': instance.sendStatus, 'address': instance.address, 'storeName': instance.storeName, 'recAddress': instance.recAddress, 'state': instance.state, 'useTyped': instance.useTyped, 'isDelete': instance.isDelete, 'creditOrderDetailList': instance.creditOrderDetailList?.map((e) => e.toJson()).toList(), };