copyWith method

ColumnBean copyWith({
  1. String? name,
  2. List<ColumnBeanStatusesItem>? statuses,
  3. int? min,
  4. int? max,
})

Implementation

ColumnBean copyWith(
    {String? name,
    List<ColumnBeanStatusesItem>? statuses,
    int? min,
    int? max}) {
  return ColumnBean(
    name: name ?? this.name,
    statuses: statuses ?? this.statuses,
    min: min ?? this.min,
    max: max ?? this.max,
  );
}