deleteCredential static method

Future<void> deleteCredential(
  1. String id
)

Delete a Credential by ID on current device.

Warning: deleting a Credential is destructive and will remove everything from the device. If no other device contains the credential then the user will need to complete a recovery in order to log in again on this device.

id is the credential id, uniquely identifying a Credential.

Implementation

static Future<void> deleteCredential(String id) async {
  await _channel.invokeMethod('deleteCredential', {
    'credentialId': id,
  });
}