copyWith method
Options
copyWith({
- ApprovalScrubber? scrubber,
- bool? approveResult,
- Comparator? comparator,
- Reporter? reporter,
- bool? deleteReceivedFile,
- Namer? namer,
- bool? logErrors,
- bool? logResults,
- 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,
);