2022-03-15 19:16:14 +03:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'models.dart';
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// JsonSerializableGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
_$FidoStateImpl _$$FidoStateImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
_$FidoStateImpl(
|
2022-03-15 19:16:14 +03:00
|
|
|
info: json['info'] as Map<String, dynamic>,
|
2022-04-03 12:05:37 +03:00
|
|
|
unlocked: json['unlocked'] as bool,
|
2024-07-09 12:33:41 +03:00
|
|
|
pinRetries: (json['pin_retries'] as num?)?.toInt(),
|
2022-03-15 19:16:14 +03:00
|
|
|
);
|
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
Map<String, dynamic> _$$FidoStateImplToJson(_$FidoStateImpl instance) =>
|
2022-03-15 19:16:14 +03:00
|
|
|
<String, dynamic>{
|
|
|
|
'info': instance.info,
|
2022-04-03 12:05:37 +03:00
|
|
|
'unlocked': instance.unlocked,
|
2024-04-04 17:51:05 +03:00
|
|
|
'pin_retries': instance.pinRetries,
|
2022-03-15 19:16:14 +03:00
|
|
|
};
|
2022-03-23 11:49:20 +03:00
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
_$FingerprintImpl _$$FingerprintImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
_$FingerprintImpl(
|
2022-03-23 11:49:20 +03:00
|
|
|
json['template_id'] as String,
|
|
|
|
json['name'] as String?,
|
|
|
|
);
|
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
Map<String, dynamic> _$$FingerprintImplToJson(_$FingerprintImpl instance) =>
|
2022-03-23 11:49:20 +03:00
|
|
|
<String, dynamic>{
|
|
|
|
'template_id': instance.templateId,
|
|
|
|
'name': instance.name,
|
|
|
|
};
|
2022-03-23 19:50:49 +03:00
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
_$FidoCredentialImpl _$$FidoCredentialImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
_$FidoCredentialImpl(
|
2022-03-23 19:50:49 +03:00
|
|
|
rpId: json['rp_id'] as String,
|
|
|
|
credentialId: json['credential_id'] as String,
|
|
|
|
userId: json['user_id'] as String,
|
|
|
|
userName: json['user_name'] as String,
|
2024-03-28 14:55:28 +03:00
|
|
|
displayName: json['display_name'] as String?,
|
2022-03-23 19:50:49 +03:00
|
|
|
);
|
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
Map<String, dynamic> _$$FidoCredentialImplToJson(
|
|
|
|
_$FidoCredentialImpl instance) =>
|
2022-03-23 19:50:49 +03:00
|
|
|
<String, dynamic>{
|
|
|
|
'rp_id': instance.rpId,
|
|
|
|
'credential_id': instance.credentialId,
|
|
|
|
'user_id': instance.userId,
|
|
|
|
'user_name': instance.userName,
|
2024-03-28 11:58:47 +03:00
|
|
|
'display_name': instance.displayName,
|
2022-03-23 19:50:49 +03:00
|
|
|
};
|