DebugTree constructor

DebugTree({
  1. int printTimeType = timeClockType,
  2. List<String> logLevels = defaultLevels,
  3. bool useColors = false,
})

Creates DebugTree with defaults or with defined printTimeType, logLevels, useColors

Implementation

DebugTree({
  this.printTimeType = timeClockType,
  this.logLevels = defaultLevels,
  bool useColors = false,
}) {
  if (printTimeType == timeElapsedType) {
    _elapsedTimeStopwatch.reset();
    _elapsedTimeStopwatch.start();
  }
  if (useColors) {
    colorizeMap = _defaultColorizeMap;
  }
}