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

51 lines
1.6 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,
2024-02-01 18:53:17 +03:00
initialized: json['initialized'] as bool? ?? true,
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,
2024-02-01 18:53:17 +03:00
'initialized': instance.initialized,
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,
);
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,
};