functions function

Functions functions([
  1. App? app
])

Accesses the Functions service for the default App or a given app.

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

Implementation

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

  return Functions.getInstance(jsObject);
}