getAppInfo method
Implementation
@override
Future<PassageAppInfo?> getAppInfo() async {
try {
final resultPromise = passage.appInfo();
final jsObject = await js_util.promiseToFuture(resultPromise);
return jsObject == null ? null : PassageAppInfo.fromJson(jsObject);
} catch (e) {
throw PassageError.fromObject(
object: e, overrideCode: PassageErrorCode.appInfoError);
}
}