copyWith method

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

Implementation

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