v1AuthenticatorParamsV2.fromJson constructor
v1AuthenticatorParamsV2.fromJson(
- Map<String, dynamic> json
)
Implementation
factory v1AuthenticatorParamsV2.fromJson(Map<String, dynamic> json) {
final _authenticatorName = json['authenticatorName'] as String;
final _challenge = json['challenge'] as String;
final _attestation = v1Attestation.fromJson(json['attestation'] as Map<String, dynamic>);
return v1AuthenticatorParamsV2(
authenticatorName: _authenticatorName,
challenge: _challenge,
attestation: _attestation,
);
}