veilidchat/lib/entities/local_account.g.dart

33 lines
1.4 KiB
Dart
Raw Normal View History

2023-07-07 19:33:28 -04:00
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'local_account.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
_$_LocalAccount _$$_LocalAccountFromJson(Map<String, dynamic> json) =>
_$_LocalAccount(
2023-07-25 01:04:34 -04:00
identityMaster: IdentityMaster.fromJson(json['identity_master']),
2023-07-07 19:33:28 -04:00
identitySecretKeyBytes: const Uint8ListJsonConverter()
.fromJson(json['identity_secret_key_bytes'] as String),
2023-07-16 21:41:40 -04:00
identitySecretSaltBytes: const Uint8ListJsonConverter()
.fromJson(json['identity_secret_salt_bytes'] as String),
2023-07-07 19:33:28 -04:00
encryptionKeyType:
2023-07-25 01:04:34 -04:00
EncryptionKeyType.fromJson(json['encryption_key_type']),
2023-07-07 19:33:28 -04:00
biometricsEnabled: json['biometrics_enabled'] as bool,
hiddenAccount: json['hidden_account'] as bool,
);
Map<String, dynamic> _$$_LocalAccountToJson(_$_LocalAccount instance) =>
<String, dynamic>{
'identity_master': instance.identityMaster.toJson(),
'identity_secret_key_bytes': const Uint8ListJsonConverter()
.toJson(instance.identitySecretKeyBytes),
2023-07-16 21:41:40 -04:00
'identity_secret_salt_bytes': const Uint8ListJsonConverter()
.toJson(instance.identitySecretSaltBytes),
2023-07-07 19:33:28 -04:00
'encryption_key_type': instance.encryptionKeyType.toJson(),
'biometrics_enabled': instance.biometricsEnabled,
'hidden_account': instance.hiddenAccount,
};