initializeApp function
Implementation
App initializeApp({
String? apiKey,
String? authDomain,
String? databaseURL,
String? projectId,
String? storageBucket,
String? messagingSenderId,
String? name,
String? measurementId,
String? appId,
}) {
name ??= defaultFirebaseAppName;
return App.getInstance(
firebase_interop.initializeApp(
firebase_interop.FirebaseOptions(
apiKey: apiKey?.toJS,
authDomain: authDomain?.toJS,
databaseURL: databaseURL?.toJS,
projectId: projectId?.toJS,
storageBucket: storageBucket?.toJS,
messagingSenderId: messagingSenderId?.toJS,
measurementId: measurementId?.toJS,
appId: appId?.toJS,
),
name.toJS,
),
);
}