OutputSpec constructor

const OutputSpec({
  1. required OutputFormat format,
  2. String? filePath,
})

Creates an output spec. A null/empty filePath means stdout.

Implementation

const OutputSpec({required this.format, this.filePath});