// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'user_profile_model.dart';

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

_UserProfileModel _$UserProfileModelFromJson(Map<String, dynamic> json) =>
    _UserProfileModel(
      accessToken: json['access_token'] as String?,
      expiresIn: json['expires_in'] as String?,
      scope: json['scope'] as String?,
      expireTime: json['expire_time'] as String?,
      mobile: json['mobile'] as String?,
      fullname: json['fullname'] as String?,
      firstname: json['firstname'] as String?,
      lastname: json['lastname'] as String?,
      city: json['city'] as String?,
      province: json['province'] as String?,
      nationalCode: json['national_code'] as String?,
      nationalId: json['national_id'] as String?,
      birthday: json['birthday'] as String?,
      image: json['image'] as String?,
      baseOrder: (json['base_order'] as num?)?.toInt(),
      role: (json['role'] as List<dynamic>?)?.map((e) => e as String).toList(),
    );

Map<String, dynamic> _$UserProfileModelToJson(_UserProfileModel instance) =>
    <String, dynamic>{
      'access_token': instance.accessToken,
      'expires_in': instance.expiresIn,
      'scope': instance.scope,
      'expire_time': instance.expireTime,
      'mobile': instance.mobile,
      'fullname': instance.fullname,
      'firstname': instance.firstname,
      'lastname': instance.lastname,
      'city': instance.city,
      'province': instance.province,
      'national_code': instance.nationalCode,
      'national_id': instance.nationalId,
      'birthday': instance.birthday,
      'image': instance.image,
      'base_order': instance.baseOrder,
      'role': instance.role,
    };
