enable method
Enable the WebAuthn domain and start intercepting credential storage and
retrieval with a virtual authenticator.
enableUI
Whether to enable the WebAuthn user interface. Enabling the UI is
recommended for debugging and demo purposes, as it is closer to the real
experience. Disabling the UI is recommended for automated testing.
Supported at the embedder's discretion if UI is available.
Defaults to false.
Implementation
Future<void> enable({bool? enableUI}) async {
await _client.send('WebAuthn.enable', {
if (enableUI != null) 'enableUI': enableUI,
});
}