copyWith method
RouteCamera
copyWith({
- RouteCameraPurposeEnumSet? purposes,
- RouteDistance? rangeAgainst,
- RouteDistance? rangeAlong,
- RouteCameraDirection? direction,
- Optional<
double?> ? maxSpeedLimit,
Implementation
RouteCamera copyWith({
RouteCameraPurposeEnumSet? purposes,
RouteDistance? rangeAgainst,
RouteDistance? rangeAlong,
RouteCameraDirection? direction,
Optional<double?>? maxSpeedLimit
}) {
return RouteCamera(
purposes: purposes ?? this.purposes,
rangeAgainst: rangeAgainst ?? this.rangeAgainst,
rangeAlong: rangeAlong ?? this.rangeAlong,
direction: direction ?? this.direction,
maxSpeedLimit: maxSpeedLimit != null ? maxSpeedLimit.value : this.maxSpeedLimit
);
}