copyWith method

CpMemberDataResponse copyWith({
  1. String? type,
  2. String? description,
  3. String? image,
  4. bool isSelected = false,
})

Implementation

CpMemberDataResponse copyWith({  String? type,
  String? description,
  String? image,
  bool isSelected = false,
}) => CpMemberDataResponse(  type: type ?? _type,
  description: description ?? _description,
  image: image ?? _image,
  isSelected: isSelected ?? _isSelected,
);