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

47 lines
1.4 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
// **************************************************************************
_$_FidoState _$$_FidoStateFromJson(Map<String, dynamic> json) => _$_FidoState(
info: json['info'] as Map<String, dynamic>,
unlocked: json['unlocked'] as bool,
2022-03-15 19:16:14 +03:00
);
Map<String, dynamic> _$$_FidoStateToJson(_$_FidoState instance) =>
<String, dynamic>{
'info': instance.info,
'unlocked': instance.unlocked,
2022-03-15 19:16:14 +03:00
};
2022-03-23 11:49:20 +03:00
_$_Fingerprint _$$_FingerprintFromJson(Map<String, dynamic> json) =>
_$_Fingerprint(
json['template_id'] as String,
json['name'] as String?,
);
Map<String, dynamic> _$$_FingerprintToJson(_$_Fingerprint instance) =>
<String, dynamic>{
'template_id': instance.templateId,
'name': instance.name,
};
2022-03-23 19:50:49 +03:00
_$_FidoCredential _$$_FidoCredentialFromJson(Map<String, dynamic> json) =>
_$_FidoCredential(
rpId: json['rp_id'] as String,
credentialId: json['credential_id'] as String,
userId: json['user_id'] as String,
userName: json['user_name'] as String,
);
Map<String, dynamic> _$$_FidoCredentialToJson(_$_FidoCredential instance) =>
<String, dynamic>{
'rp_id': instance.rpId,
'credential_id': instance.credentialId,
'user_id': instance.userId,
'user_name': instance.userName,
};