app static method
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]) {
var app = _apps[name];
if (app == null) {
throw FirebaseCoreException.noAppExists(name);
}
return app;
}