useEmulator method
Modify this instance to communicate with the Realtime Database emulator.
Note: This method must be called before performing any other operation.
Implementation
external void useEmulator(
String host,
int port, [
DatabaseEmulatorOptions options,
]);