Firestore constructor

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

Implementation

Firestore(
  String projectId, {
  String? databaseId,
  RequestAuthenticator? authenticator,
  Emulator? emulator,
})  : _gateway = FirestoreGateway(
        projectId,
        databaseId: databaseId,
        authenticator: authenticator,
        emulator: emulator,
      ),
      assert(projectId.isNotEmpty);