copyWith method

NiceKanbanColumn<T> copyWith({
  1. String? id,
  2. String? title,
  3. List<T>? items,
  4. Color? color,
  5. IconData? icon,
  6. int? limit,
  7. bool? collapsed,
})

Implementation

NiceKanbanColumn<T> copyWith({
  String? id,
  String? title,
  List<T>? items,
  Color? color,
  IconData? icon,
  int? limit,
  bool? collapsed,
}) {
  return NiceKanbanColumn<T>(
    id: id ?? this.id,
    title: title ?? this.title,
    items: items ?? this.items,
    color: color ?? this.color,
    icon: icon ?? this.icon,
    limit: limit ?? this.limit,
    collapsed: collapsed ?? this.collapsed,
  );
}