CredentialAddedEvent.fromJson constructor

CredentialAddedEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CredentialAddedEvent.fromJson(Map<String, dynamic> json) {
  return CredentialAddedEvent(
    authenticatorId:
        AuthenticatorId.fromJson(json['authenticatorId'] as String),
    credential:
        Credential.fromJson(json['credential'] as Map<String, dynamic>),
  );
}