yubioath-flutter/lib/fido/models.g.dart

53 lines
1.7 KiB
Dart
Raw Normal View History

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>,
unlocked: json['unlocked'] as bool,
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,
'unlocked': instance.unlocked,
'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,
'display_name': instance.displayName,
2022-03-23 19:50:49 +03:00
};