FirebaseAuth constructor

FirebaseAuth(
  1. Client client,
  2. String apiKey, [
  3. String? locale
])

Creates a new firebase auth instance.

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

Implementation

FirebaseAuth(
  Client client,
  String apiKey, [
  this.locale,
]) : api = RestApi(client, apiKey);