editPasskey method
Edits the friendlyName of the authenticated user's device passkey.
Parameters:
passkeyId: The ID of the passkey to edit.newPasskeyName: The new name for the passkey.
Returns:
A Future<Passkey> object containing all of the data about the updated passkey.
Throws:
PassageError
Implementation
Future<Passkey> editPasskey(String passkeyId, String friendlyName) {
return PassageFlutterPlatform.instance
.editPasskeyName(passkeyId, friendlyName);
}