useEmulator method
void
useEmulator()
Use the Firebase Emulator Suite to run the app locally.
Implementation
void useEmulator() {
_isUsingEmulator = true;
authApiHost = Uri.http('127.0.0.1:9099', 'identitytoolkit.googleapis.com/');
firestoreApiHost = Uri.http('127.0.0.1:8080', '/');
}