httpClient property

Client? get httpClient

The HTTP client used by the installed Firebase Dart implementation, or null if setup was never called.

After setup, this is the effective client (possibly wrapped with retries), not necessarily the same instance passed as setup's httpClient.

Implementation

static http.Client? get httpClient {
  try {
    return instance._installation.httpClient;
  } catch (_) {
    return null;
  }
}