CredentialUpdatedEvent.fromJson constructor

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

Implementation

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