CredentialDeletedEvent.fromJson constructor

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

Implementation

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