user.g.dart 2.01 KB
// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'user.dart';

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

User _$UserFromJson(Map<String, dynamic> json) {
  return User(
    json['openid'] as String?,
    json['account'] as String?,
    json['role_name'] as String?,
    json['role_name_addition'] as String?,
    json['sellerid'] as String?,
    json['sellercode'] as String?,
    json['sellername'] as String?,
    json['sellerimage'] as String?,
    json['sellerphone'] as String?,
    json['sellerAddr'] as String?,
    json['scatter'] as int?,
    json['room'] as int?,
    json['cassette'] as int?,
    json['morning'] as String?,
    json['noon'] as String?,
    json['night'] as String?,
    json['userphone'] as String?,
    json['userphoneMyPage'] as String?,
    json['token'] as String?,
    json['nickname'] as String?,
    json['edate'] as String?,
    json['tokenLoginOut'] as String?,
    json['sellerVersion'] as String?,
  );
}

Map<String, dynamic> _$UserToJson(User instance) => <String, dynamic>{
      'openid': instance.openid,
      'account': instance.account,
      'role_name': instance.role_name,
      'role_name_addition': instance.role_name_addition,
      'sellerid': instance.sellerid,
      'sellercode': instance.sellercode,
      'sellername': instance.sellername,
      'sellerimage': instance.sellerimage,
      'sellerphone': instance.sellerphone,
      'sellerAddr': instance.sellerAddr,
      'scatter': instance.scatter,
      'room': instance.room,
      'cassette': instance.cassette,
      'morning': instance.morning,
      'noon': instance.noon,
      'night': instance.night,
      'userphone': instance.userphone,
      'userphoneMyPage': instance.userphoneMyPage,
      'token': instance.token,
      'nickname': instance.nickName,
      'edate': instance.edate,
      'tokenLoginOut': instance.tokenLoginOut,
      'sellerVersion': instance.sellerVersion
    };