copyWith method
Copies current LineTouchResponse to a new LineTouchResponse, and replaces provided values.
Implementation
LineTouchResponse copyWith({
List<TouchLineBarSpot>? lineBarSpots,
}) {
return LineTouchResponse(
lineBarSpots ?? this.lineBarSpots,
);
}