initialize static method

FirebaseAuth initialize(
  1. String apiKey,
  2. TokenStore tokenStore, {
  3. Client? httpClient,
})

Implementation

static FirebaseAuth initialize(String apiKey, TokenStore tokenStore,
    {http.Client? httpClient}) {
  if (initialized) {
    throw Exception('FirebaseAuth instance was already initialized');
  }
  _instance = FirebaseAuth(apiKey, tokenStore, httpClient: httpClient);
  return _instance!;
}