copyWith method

PriorityTab copyWith({
  1. String? name,
  2. num? total,
})

Implementation

PriorityTab copyWith({  String? name,
  num? total,
}) => PriorityTab(  name: name ?? _name,
  total: total ?? _total,
  isSelected: isSelected ?? _isSelected,
);