noDefaultAppInitialization function
Throws a consistent cross-platform error message if the user attempts to initialize the default app from FlutterFire.
Implementation
FirebaseException noDefaultAppInitialization() {
return FirebaseException(
plugin: 'core',
message: 'The $defaultFirebaseAppName app cannot be initialized here. '
'To initialize the default app, follow the installation instructions '
'for the specific platform you are developing with.',
);
}