deletePasskey method
Implementation
@override
Future<void> deletePasskey(String passkeyId) async {
try {
final resultPromise = passage.getCurrentUser().deleteDevice(passkeyId);
await js_util.promiseToFuture(resultPromise);
return;
} catch (e) {
throw PassageError.fromObject(
object: e, overrideCode: PassageErrorCode.passkeyError);
}
}