hostingEndpoint property
String
get
hostingEndpoint
Returns the Firebase Hosting endpoint.
Create from an initialized FirebaseApp project ID.
Returns Exception if not initialized.
Firebase Hostingのエンドポイントを返します。
初期化されたFirebaseAppのプロジェクトIDから作成します。
初期化されていない場合はExceptionを返します。
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";
}