httpsCallableFromUrl method

HttpsCallable httpsCallableFromUrl(
  1. String url, {
  2. HttpsCallableOptions? options,
})

A reference to the Callable HTTPS trigger with the given URL.

Should be URL of the 2nd gen Callable function in Firebase.

Implementation

HttpsCallable httpsCallableFromUrl(
  String url, {
  HttpsCallableOptions? options,
}) {
  final uri = Uri.parse(url);
  options ??= HttpsCallableOptions();
  return HttpsCallable._(
      delegate.httpsCallableWithUri(_origin, uri, options));
}