name property
String
get
name
The (read-only) name for this app.
The default app's name is "[DEFAULT]"
.
@example
// The default app's name is "[DEFAULT]"
initializeApp(defaultAppConfig);
console.log(admin.app().name); // "[DEFAULT]"
@example
// A named app's name is what you provide to initializeApp()
const otherApp = initializeApp(otherAppConfig, "other");
console.log(otherApp.name); // "other"
Implementation
external String get name;