GatorCommand constructor

GatorCommand({
  1. required ArgResults results,
  2. Logger? logger,
  3. DartFormatter? dartFormatter,
  4. DartEmitter? dartEmitter,
})

Entry point for running the gator executable.

Implementation

GatorCommand({
  required ArgResults results,
  Logger? logger,
  DartFormatter? dartFormatter,
  DartEmitter? dartEmitter,
})  : _results = results,
      _logger = logger ?? Logger(),
      _emitter = dartEmitter ?? DartEmitter(),
      _formatter = dartFormatter ?? DartFormatter();