initializeFirebaseAnalytics top-level property
Implementation
var initializeFirebaseAnalytics = when<AppStarted>((event) async {
if (await FirebaseAnalytics.instance.isSupported()) {
report("Firebase analytics is supported");
} else {
report("Firebase analytics is not supported");
}
});