deletePasskey static method Null safety
- String id
Delete a Passkey by ID on current device. Note: It is possible to delete a passkey that does not exist. Warning: deleting a Passkey is destructive and will remove everything from the device. If no other device contains the passkey then the user will need to complete a recovery in order to log in again on this device.
id
the unique identifier of the Passkey.
Implementation
static Future<void> deletePasskey(String id) async {
await _channel.invokeMethod('deletePasskey', {
'passkeyId': id,
});
}