canAuthenticateWithPasskey method

Future<bool> canAuthenticateWithPasskey()

Implementation

Future<bool> canAuthenticateWithPasskey() async {
  try {
    final resultPromise = passage.passkey.canAuthenticateWithPasskey();
    final jsObject = await js_util.promiseToFuture(resultPromise);
    return jsObject;
  } catch (e) {
    throw PassageError.fromObject(object: e);
  }
}