useFirestoreEmulator method

  1. @override
void useFirestoreEmulator(
  1. String host,
  2. int port, {
  3. bool sslEnabled = false,
})
override

Changes this instance to point to a FirebaseFirestore emulator running locally.

Set the host of the local emulator, such as "localhost" Set the port of the local emulator, such as "8080" (port 8080 is default)

Note: Must be called immediately, prior to accessing FirebaseFirestore methods. Do not use with production credentials as emulator traffic is not encrypted.

Implementation

@override
void useFirestoreEmulator(String host, int port, {bool sslEnabled = false}) {
  // TODO: implement useFirestoreEmulator
}