delete method
Deletes the current Firebase app instance.
The default app cannot be deleted.
Implementation
@override
Future<void> delete() async {
if (_isDefault) {
throw noDefaultAppDelete();
}
if (_isDeleted) {
return;
}
await _api.delete(name);
MethodChannelFirebase.appInstances.remove(name);
FirebasePluginPlatform._constantsForPluginApps.remove(name);
_isDeleted = true;
}