copyWith method

DConfig copyWith({
  1. bool? hasReverse,
  2. bool? hasPrintLog,
  3. bool? hasWriteLog,
  4. bool? hasPrintNet,
  5. bool? hasWriteNet,
  6. int? maxLimit,
})

Implementation

DConfig copyWith({
  bool? hasReverse,
  bool? hasPrintLog,
  bool? hasWriteLog,
  bool? hasPrintNet,
  bool? hasWriteNet,
  int? maxLimit,
}) {
  return DConfig(
    hasReverse: hasReverse ?? this.hasReverse,
    hasPrintLog: hasPrintLog ?? this.hasPrintLog,
    hasWriteLog: hasWriteLog ?? this.hasWriteLog,
    hasPrintNet: hasPrintNet ?? this.hasPrintNet,
    hasWriteNet: hasWriteNet ?? this.hasWriteNet,
    maxLimit: maxLimit ?? this.maxLimit,
  );
}