copyWith method

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

Implementation

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