copyWith method
Implementation
SpeedRange copyWith({
double? minSpeed,
double? maxSpeed
}) {
return SpeedRange(
minSpeed: minSpeed ?? this.minSpeed,
maxSpeed: maxSpeed ?? this.maxSpeed
);
}
SpeedRange copyWith({
double? minSpeed,
double? maxSpeed
}) {
return SpeedRange(
minSpeed: minSpeed ?? this.minSpeed,
maxSpeed: maxSpeed ?? this.maxSpeed
);
}