noDefaultAppDelete function Null safety

FirebaseException noDefaultAppDelete()

Throws a consistent cross-platform error message if the user attempts to delete the default app.

Implementation

FirebaseException noDefaultAppDelete() {
  return FirebaseException(
    plugin: 'core',
    message: 'The default Firebase app instance cannot be deleted.',
  );
}