copyWith method
Copies current BarTouchResponse to a new BarTouchResponse, and replaces provided values.
Implementation
BarTouchResponse copyWith({
BarTouchedSpot? spot,
}) {
return BarTouchResponse(
spot ?? this.spot,
);
}
Copies current BarTouchResponse to a new BarTouchResponse, and replaces provided values.
BarTouchResponse copyWith({
BarTouchedSpot? spot,
}) {
return BarTouchResponse(
spot ?? this.spot,
);
}