copyWith method

BankSlipOptions copyWith({
  1. bool? active,
  2. int? extraDueDays,
  3. bool? reprintExtraDueDays,
})

Implementation

BankSlipOptions copyWith({
  bool? active,
  int? extraDueDays,
  bool? reprintExtraDueDays,
}) {
  return BankSlipOptions(
    active: active ?? this.active,
    extraDueDays: extraDueDays ?? this.extraDueDays,
    reprintExtraDueDays: reprintExtraDueDays ?? this.reprintExtraDueDays,
  );
}