[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(null-error, Host platform returned null value for non-null return value., null, null)
if you get the above error in your Flutter project with firebase configurations.
The solution is provided in the video. Here is the helping text
await Firebase.initializeApp(
options: FirebaseOptions(
apiKey: "ApiKey",
appId: "AppId",
messagingSenderId: "MessagingSenderId",
projectId: "ProjectId",
),
);
The video explains how to FIX Flutter Compile Error on Firebase Auth | Firebase Initialization issue in flutter