app static method

FirebaseApp app([
  1. String name = defaultFirebaseAppName
])

Returns a FirebaseApp instance.

If no name is provided, the default app instance is returned. Throws if the app does not exist.

Implementation

static FirebaseApp app([String name = defaultFirebaseAppName]) {
  FirebaseAppPlatform app = _delegate.app(name);

  return FirebaseApp._(app);
}