// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'account_profile.dart';

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

AccountProfile _$AccountProfileFromJson(Map<String, dynamic> json) =>
    AccountProfile(
      uid: json['uid'] as String? ?? '',
      nickname: json['nickname'] as String? ?? '',
      countryCode: json['country'] as String? ?? '',
      avatar: json['avatar'] as String? ?? '',
      version: json['ver'] as String? ?? '',
      dirty: json['dirty'] as bool? ?? false,
      role: json['role'] as int? ?? 0,
      updateAt: json['upt'] as int? ?? 0,
    );

Map<String, dynamic> _$AccountProfileToJson(AccountProfile instance) =>
    <String, dynamic>{
      'uid': instance.uid,
      'nickname': instance.nickname,
      'country': instance.countryCode,
      'avatar': instance.avatar,
      'ver': instance.version,
      'dirty': instance.dirty,
      'upt': instance.updateAt,
      'role': instance.role,
    };
