FirestoreGateway constructor

FirestoreGateway(
  1. String projectId, {
  2. String? databaseId,
  3. RequestAuthenticator? authenticator,
  4. Emulator? emulator,
})

Implementation

FirestoreGateway(
  String projectId, {
  String? databaseId,
  RequestAuthenticator? authenticator,
  Emulator? emulator,
})  : _authenticator = authenticator,
      database =
          'projects/$projectId/databases/${databaseId ?? '(default)'}/documents',
      _listenStreamCache = <String, _ListenStreamWrapper>{} {
  _setupClient(emulator: emulator);
}