2023-07-07 19:33:28 -04:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'local_account.dart';
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// JsonSerializableGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
2023-09-28 10:06:22 -04:00
|
|
|
_$LocalAccountImpl _$$LocalAccountImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
_$LocalAccountImpl(
|
2023-07-25 01:04:34 -04:00
|
|
|
identityMaster: IdentityMaster.fromJson(json['identity_master']),
|
2023-08-01 00:39:50 -04:00
|
|
|
identitySecretBytes: const Uint8ListJsonConverter()
|
2023-10-14 20:18:57 -04:00
|
|
|
.fromJson(json['identity_secret_bytes']),
|
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,
|
2023-07-28 20:36:05 -04:00
|
|
|
name: json['name'] as String,
|
2023-07-07 19:33:28 -04:00
|
|
|
);
|
|
|
|
|
2023-09-28 10:06:22 -04:00
|
|
|
Map<String, dynamic> _$$LocalAccountImplToJson(_$LocalAccountImpl instance) =>
|
2023-07-07 19:33:28 -04:00
|
|
|
<String, dynamic>{
|
|
|
|
'identity_master': instance.identityMaster.toJson(),
|
2023-08-01 00:39:50 -04:00
|
|
|
'identity_secret_bytes':
|
|
|
|
const Uint8ListJsonConverter().toJson(instance.identitySecretBytes),
|
2023-07-07 19:33:28 -04:00
|
|
|
'encryption_key_type': instance.encryptionKeyType.toJson(),
|
|
|
|
'biometrics_enabled': instance.biometricsEnabled,
|
|
|
|
'hidden_account': instance.hiddenAccount,
|
2023-07-28 20:36:05 -04:00
|
|
|
'name': instance.name,
|
2023-07-07 19:33:28 -04:00
|
|
|
};
|