UserActionChallenge.fromJson constructor
UserActionChallenge.fromJson(
- dynamic json
Implementation
factory UserActionChallenge.fromJson(dynamic json) {
return UserActionChallenge(
json['attestation'] as String,
json['userVerification'] as String,
json['externalAuthenticationUrl'] as String,
json['challenge'] as String,
json['challengeIdentifier'] as String,
RelyingParty.fromJson(json['rp']),
List<SupportedCredentialKinds2>.from(json['supportedCredentialKinds']
.map((e) => SupportedCredentialKinds2.fromJson(e))),
AllowCredentials.fromJson(json['allowCredentials']),
);
}