FirestoreGateway constructor
FirestoreGateway(
- String projectId, {
- String? databaseId,
- RequestAuthenticator? authenticator,
- 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);
}