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.
 
 
 
 
 
 

92 lines
3.6 KiB

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'store_info.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
StoreInfo _$StoreInfoFromJson(Map<String, dynamic> json) {
return StoreInfo(
address: json['address'] as String,
bannerList: (json['bannerList'] as List)
?.map((e) =>
e == null ? null : BannerData.fromJson(e as Map<String, dynamic>))
?.toList(),
city: json['city'] as String,
couponVOList: (json['couponVOList'] as List)
?.map((e) =>
e == null ? null : CouponVo.fromJson(e as Map<String, dynamic>))
?.toList(),
createTime: json['createTime'] as String,
createUser: json['createUser'] as String,
deliveryInfo: json['deliveryInfo'] == null
? null
: DeliveryInfo.fromJson(json['deliveryInfo'] as Map<String, dynamic>),
district: json['district'] as String,
headMobile: json['headMobile'] as String,
headName: json['headName'] as String,
id: json['id'] as String,
isAutoSendRefundAddress: json['isAutoSendRefundAddress'] as num,
latitude: json['latitude'] as String,
logo: json['logo'] as String,
longitude: json['longitude'] as String,
mobile: json['mobile'] as String,
openEndTime: json['openEndTime'] as String,
openStartTime: json['openStartTime'] as String,
perCapitaConsumption: json['perCapitaConsumption'] as String,
posType: json['posType'] == null
? null
: StoreType.fromJson(json['posType'] as Map<String, dynamic>),
promotionList: (json['promotionList'] as List)
?.map((e) =>
e == null ? null : Promotion.fromJson(e as Map<String, dynamic>))
?.toList(),
province: json['province'] as String,
refundAddress: json['refundAddress'] as String,
refundContact: json['refundContact'] as String,
refundTel: json['refundTel'] as String,
remark: json['remark'] as String,
shipAddress: json['shipAddress'] as String,
storeName: json['storeName'] as String,
tenantCode: json['tenantCode'] as String,
updateTime: json['updateTime'] as String,
updateUser: json['updateUser'] as String,
useErp: json['useErp'] as bool,
);
}
Map<String, dynamic> _$StoreInfoToJson(StoreInfo instance) => <String, dynamic>{
'address': instance.address,
'bannerList': instance.bannerList,
'city': instance.city,
'couponVOList': instance.couponVOList,
'createTime': instance.createTime,
'createUser': instance.createUser,
'deliveryInfo': instance.deliveryInfo,
'district': instance.district,
'headMobile': instance.headMobile,
'headName': instance.headName,
'id': instance.id,
'isAutoSendRefundAddress': instance.isAutoSendRefundAddress,
'latitude': instance.latitude,
'logo': instance.logo,
'longitude': instance.longitude,
'mobile': instance.mobile,
'openEndTime': instance.openEndTime,
'openStartTime': instance.openStartTime,
'perCapitaConsumption': instance.perCapitaConsumption,
'posType': instance.posType,
'promotionList': instance.promotionList,
'province': instance.province,
'refundAddress': instance.refundAddress,
'refundContact': instance.refundContact,
'refundTel': instance.refundTel,
'remark': instance.remark,
'shipAddress': instance.shipAddress,
'storeName': instance.storeName,
'tenantCode': instance.tenantCode,
'updateTime': instance.updateTime,
'updateUser': instance.updateUser,
'useErp': instance.useErp,
};