app property Null safety

FirebaseApp app

Returns the FirebaseApp for the current instance.

Implementation

FirebaseApp get app {
  if (appInstance == null) {
    return Firebase.app();
  }

  return appInstance!;
}