isDebugEnabled function

bool isDebugEnabled({
  1. bool? objectLevelDebug,
})

Checks whether debug is enabled

Debug can be set in 2 places, one global param in the Parse.initialize, and then can be overwritten class by class

Implementation

bool isDebugEnabled({bool? objectLevelDebug}) {
  return objectLevelDebug ?? ParseCoreData().debug;
}