onCredentialAdded property

Stream<CredentialAddedEvent> get onCredentialAdded

Triggered when a credential is added to an authenticator.

Implementation

Stream<CredentialAddedEvent> get onCredentialAdded => _client.onEvent
    .where((event) => event.name == 'WebAuthn.credentialAdded')
    .map((event) => CredentialAddedEvent.fromJson(event.parameters));