copyWith method

Options copyWith({
  1. ApprovalScrubber? scrubber,
  2. bool? approveResult,
  3. Comparator? comparator,
  4. Reporter? reporter,
  5. bool? deleteReceivedFile,
  6. Namer? namer,
  7. bool? logErrors,
  8. bool? logResults,
  9. bool? includeClassNameDuringSerialization,
})

Implementation

Options copyWith({
  ApprovalScrubber? scrubber,
  bool? approveResult,
  Comparator? comparator,
  Reporter? reporter,
  bool? deleteReceivedFile,
  Namer? namer,
  bool? logErrors,
  bool? logResults,
  bool? includeClassNameDuringSerialization,
}) =>
    Options(
      scrubber: scrubber ?? this.scrubber,
      approveResult: approveResult ?? this.approveResult,
      comparator: comparator ?? this.comparator,
      reporter: reporter ?? this.reporter,
      deleteReceivedFile: deleteReceivedFile ?? this.deleteReceivedFile,
      namer: namer ?? this.namer,
      logErrors: logErrors ?? this.logErrors,
      logResults: logResults ?? this.logResults,
      includeClassNameDuringSerialization:
          includeClassNameDuringSerialization ??
              this.includeClassNameDuringSerialization,
    );