useEmulator static method

dynamic useEmulator(
  1. String host,
  2. int port
)

Configures Firestore to use the emulator instead of the real database.

Implementation

static useEmulator(final String host, final int port) {
  instance.useFirestoreEmulator(host, port);
}