call method

Implementation

Future<HttpsCallableResult> call(JSAny? data) async {
  final result =
      await (jsObject.callAsFunction(null, data)! as JSPromise).toDart;

  return HttpsCallableResult.getInstance(
    result! as functions_interop.HttpsCallableResultJsImpl,
  );
}