xxxxxxxxxx
I fixed this error by the following steps:
Uninstall and Re-install or Update flutterfire via these commands
dart pub global deactivate flutterfire_cli
dart pub global activate flutterfire_cli
Delete the google_services.json file in the [project_folder]/android/app directory.
Re-run the flutterfire configure command
flutterfire configure