useEmulator static method

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

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

Implementation

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