copyWith method

SimulationConstantSpeed copyWith({
  1. double? speed,
})

Implementation

SimulationConstantSpeed copyWith({
  double? speed
}) {
  return SimulationConstantSpeed(
    speed ?? this.speed
  );
}