copyWith method

RetentionPeriod copyWith({
  1. int? number,
  2. RetentionPeriodUnits? units,
})

Implementation

RetentionPeriod copyWith({int? number, RetentionPeriodUnits? units}) {
  return RetentionPeriod(
    number: number ?? this.number,
    units: units ?? this.units,
  );
}