init static method

void init({
  1. bool enableDebug = false,
})

Implementation

static void init({bool enableDebug = false}) {
  debugMode = enableDebug;
  logs.clear();
  if (debugMode) {
    log("Debug mode initialized");
  }
}