hostingEndpoint property
String
hostingEndpoint
Returns up to the hostname of the Firebase hosting endpoint.
Implementation
static String get hostingEndpoint {
if (_app == null) {
throw Exception(
"It has not been initialized. Please execute [initialize].",
);
}
final projectId = _app!.options.projectId;
return "https://$projectId.web.app";
}