copyWith method

DataQuaterDropDown copyWith({
  1. String? id,
  2. String? name,
  3. bool? isSelected,
  4. List<Sub>? sub,
})

Implementation

DataQuaterDropDown copyWith({  String? id,
  String? name,
  bool? isSelected,
  List<Sub>? sub,
}) => DataQuaterDropDown(  id: id ?? _id,
  name: name ?? _name,
  isSelected: isSelected ?? _isSelected,
  sub: sub ?? _sub,
);