copyWith method

Priority copyWith({
  1. String? id,
  2. String? name,
  3. bool isSelected = false,
})

Implementation

Priority copyWith({  String? id,
  String? name,
  bool isSelected = false,
}) => Priority(  id: id ?? _id,
  name: name ?? _name,
  isSelected: isSelected ?? _isSelected,
);