FirebaseAuth.api constructor

FirebaseAuth.api(
  1. RestApi api, [
  2. String? locale
])

Creates a new firebase auth instance.

The instance uses the api for accessing the Firebase REST endpoints. If locale is specified, it is used to initialize the FirebaseAuth.locale property.

Implementation

FirebaseAuth.api(
  this.api, [
  this.locale,
]);