GeneratedOutput.fromError constructor

GeneratedOutput.fromError(
  1. Generator generator,
  2. dynamic error,
  3. StackTrace? stackTrace
)

Implementation

GeneratedOutput.fromError(
  this.generator,
  this.error,
  this.stackTrace,
) : output = _outputFromError(error as Object);