editPasskeyName method
Implementation
@override
Future<Passkey> editPasskeyName(
String passkeyId, String newPasskeyName) async {
try {
final jsonString = await methodChannel.invokeMethod<String>(
'editDevicePasskeyName',
{'passkeyId': passkeyId, 'newPasskeyName': newPasskeyName});
return Passkey.fromJson(jsonString!);
} catch (e) {
throw PassageError.fromObject(object: e);
}
}