buildFunctionUrl method

String buildFunctionUrl({
  1. required String projectId,
  2. required String locationId,
  3. required String functionName,
})

Builds the function URL.

Format: https://{locationId}-{projectId}.cloudfunctions.net/{functionName}

Implementation

String buildFunctionUrl({
  required String projectId,
  required String locationId,
  required String functionName,
}) {
  return 'https://$locationId-$projectId.cloudfunctions.net/$functionName';
}