how to use firebase in the emulator in the flutter code example
Example: how to use firebase in the emulator in the flutter
firebase init
# Choose emulators, then firestore when prompted
firebase emulators:start
firebase init
# Choose emulators, then firestore when prompted
firebase emulators:start