Developing app in flutter and did firebase configuration to my flutter app.Using IDE - VSCode, Firebase configuration for flutter project. getting error all time zsh: command not found: flutterfire, giving error Undefined name 'DefaultFirebaseOptions'.
Try correcting the name to one that is defined, or defining the name.dartundefined_identifier
this is my code -
import 'firebase_options.dart';
Future<void> main() async {`enter code here`
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);
runApp(const MyApp());
}
==== getting error all time
logcat ==
getting error - zsh: command not found: flutterfire
flutterfire configure
zsh: command not found: flutterfire