DartProject constructor

DartProject({
  1. Directory? directory,
  2. DartProjectLogger? logger,
  3. bool logToConsole = false,
})

Implementation

DartProject(
    {Directory? directory,
    DartProjectLogger? logger,
    bool logToConsole = false})
    : _directory = directory,
      _logger = logger ??
          (logToConsole ? ((t, m) => print('[$t] $m')) : ((t, m) {}));