mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 09:56:23 +03:00
53 lines
1.7 KiB
Dart
53 lines
1.7 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'models.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_$FidoStateImpl _$$FidoStateImplFromJson(Map<String, dynamic> json) =>
|
|
_$FidoStateImpl(
|
|
info: json['info'] as Map<String, dynamic>,
|
|
unlocked: json['unlocked'] as bool,
|
|
pinRetries: (json['pin_retries'] as num?)?.toInt(),
|
|
);
|
|
|
|
Map<String, dynamic> _$$FidoStateImplToJson(_$FidoStateImpl instance) =>
|
|
<String, dynamic>{
|
|
'info': instance.info,
|
|
'unlocked': instance.unlocked,
|
|
'pin_retries': instance.pinRetries,
|
|
};
|
|
|
|
_$FingerprintImpl _$$FingerprintImplFromJson(Map<String, dynamic> json) =>
|
|
_$FingerprintImpl(
|
|
json['template_id'] as String,
|
|
json['name'] as String?,
|
|
);
|
|
|
|
Map<String, dynamic> _$$FingerprintImplToJson(_$FingerprintImpl instance) =>
|
|
<String, dynamic>{
|
|
'template_id': instance.templateId,
|
|
'name': instance.name,
|
|
};
|
|
|
|
_$FidoCredentialImpl _$$FidoCredentialImplFromJson(Map<String, dynamic> json) =>
|
|
_$FidoCredentialImpl(
|
|
rpId: json['rp_id'] as String,
|
|
credentialId: json['credential_id'] as String,
|
|
userId: json['user_id'] as String,
|
|
userName: json['user_name'] as String,
|
|
displayName: json['display_name'] as String?,
|
|
);
|
|
|
|
Map<String, dynamic> _$$FidoCredentialImplToJson(
|
|
_$FidoCredentialImpl instance) =>
|
|
<String, dynamic>{
|
|
'rp_id': instance.rpId,
|
|
'credential_id': instance.credentialId,
|
|
'user_id': instance.userId,
|
|
'user_name': instance.userName,
|
|
'display_name': instance.displayName,
|
|
};
|