seller_phone_model.g.dart 1.37 KB
// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'seller_phone_model.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

SellerPhoneModel _$SellerPhoneModelFromJson(Map<String, dynamic> json) {
  return SellerPhoneModel(
      json['ret'] as int?,
      (json['data'] as List?)
          ?.map((e) => e == null
              ? null
              : SellerPhoneSunModel.fromJson(e as Map<String, dynamic>))
          .toList(),
      json['msg'] as String?);
}

Map<String, dynamic> _$SellerPhoneModelToJson(SellerPhoneModel instance) =>
    <String, dynamic>{
      'ret': instance.ret,
      'data': instance.data,
      'msg': instance.msg
    };

SellerPhoneSunModel _$SellerPhoneSunModelFromJson(Map<String, dynamic> json) {
  return SellerPhoneSunModel(
      json['id'] as String?,
      json['sellerid'] as String?,
      json['type'] as String?,
      json['image'] as String?,
      json['isShare'] as String?,
      json['cdate'] as String?);
}

Map<String, dynamic> _$SellerPhoneSunModelToJson(
        SellerPhoneSunModel instance) =>
    <String, dynamic>{
      'id': instance.id,
      'sellerid': instance.sellerid,
      'type': instance.type,
      'image': instance.image,
      'isShare': instance.isShare,
      'cdate': instance.cdate
    };