UsageExceptionSettings constructor

const UsageExceptionSettings({
  1. bool? noUsageException,
  2. bool? noUsageExceptionOutput,
  3. UsageExceptionPrinter? exceptionPrinter,
})

Implementation

const UsageExceptionSettings({
  final bool? noUsageException,
  final bool? noUsageExceptionOutput,
  final UsageExceptionPrinter? exceptionPrinter,
}) : noUsageException = noUsageException ?? false,
     noUsageExceptionOutput = noUsageExceptionOutput ?? false,
     exceptionPrinter =
         exceptionPrinter ?? const StandardUsageExceptionPrinter();