functionsEndpoint property

String functionsEndpoint

Returns up to the hostname of the Firebase function endpoint.

Implementation

static String get functionsEndpoint {
  if (_app == null) {
    throw Exception(
      "It has not been initialized. Please execute [initialize].",
    );
  }
  final projectId = _app!.options.projectId;
  return "https://${FirebaseCore.region}-$projectId.cloudfunctions.net";
}