app function
Retrieves an instance of an App.
With no arguments, this returns the default App. With a single string argument, it returns the named App.
This function throws an exception if the app you are trying to access does not exist.
Implementation
App app([String? name]) {
final jsObject = (name != null) ? firebase.app(name) : firebase.app();
return App.getInstance(jsObject);
}