debugLog method Null safety

void debugLog(
  1. String log
)

Implementation

static void debugLog(String log) {
  if (debug) {
    print(log);
  }
}