functionUrl static method

String functionUrl({
  1. required String functionName,
  2. required String productionUrl,
})

Implementation

static String functionUrl({
  required String functionName,
  required String productionUrl,
}) {
  return resolveFunctionUrl(
    functionName: functionName,
    productionUrl: productionUrl,
    isRelease: kReleaseMode,
    usesEmulators: useFirebaseEmulators,
    host: emulatorHost,
    port: functionsEmulatorPort,
    projectId: emulatorProjectId,
    region: functionsRegion,
  );
}