deviceSupportsPasskeys method
Implementation
@override
Future<bool> deviceSupportsPasskeys() async {
try {
final resultPromise = passage.getCredentialAvailable();
final jsObject = await js_util.promiseToFuture(resultPromise);
return jsObject.platform == true;
} catch (e) {
throw PassageError.fromObject(object: e);
}
}