auth function

Auth auth([
  1. App? app
])

Gets the Auth object for the default App or a given App.

See: firebase.google.com/docs/reference/js/firebase.auth.

Implementation

Auth auth([App? app]) {
  final jsObject =
      (app != null) ? firebase.auth(app.jsObject) : firebase.auth();

  return Auth.getInstance(jsObject);
}