// GENERATED CODE - DO NOT MODIFY BY HAND part of 'accounts_store.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** AccountsStore _$AccountsStoreFromJson(Map json) { return AccountsStore() ..accounts = (json['accounts'] as Map?)?.map( (k, e) => MapEntry( k, (e as Map).map( (k, e) => MapEntry(k, UserData.fromJson(e as Map)), )), ) ?? {'lemmy.ml': {}} ..defaultAccounts = (json['defaultAccounts'] as Map?)?.map( (k, e) => MapEntry(k, e as String), ) ?? {} ..defaultAccount = json['defaultAccount'] as String?; } Map _$AccountsStoreToJson(AccountsStore instance) => { 'accounts': instance.accounts, 'defaultAccounts': instance.defaultAccounts, 'defaultAccount': instance.defaultAccount, }; UserData _$UserDataFromJson(Map json) { return UserData( jwt: Jwt.fromJson(json['jwt'] as String), userId: json['userId'] as int, ); } Map _$UserDataToJson(UserData instance) => { 'jwt': instance.jwt, 'userId': instance.userId, };