FirestoreGateway constructor

FirestoreGateway(
  1. String projectId, {
  2. String? databaseId,
  3. FirebaseAuth? auth,
})

Implementation

FirestoreGateway(String projectId, {String? databaseId, this.auth})
    : database =
          'projects/$projectId/databases/${databaseId ?? '(default)'}/documents',
      _listenRequestStreamMap = <String, _FirestoreGatewayStreamCache>{} {
  _setupClient();
}