copyWith method
RouteLaneSign
copyWith({
- List<
RouteLane> ? lanes, - Optional<
RoutePoint?> ? signStartPoint, - Optional<
RoutePoint?> ? signPoint, - Optional<
RoutePoint?> ? signEndPoint,
Implementation
RouteLaneSign copyWith({
List<RouteLane>? lanes,
Optional<RoutePoint?>? signStartPoint,
Optional<RoutePoint?>? signPoint,
Optional<RoutePoint?>? signEndPoint
}) {
return RouteLaneSign(
lanes: lanes ?? this.lanes,
signStartPoint: signStartPoint != null ? signStartPoint.value : this.signStartPoint,
signPoint: signPoint != null ? signPoint.value : this.signPoint,
signEndPoint: signEndPoint != null ? signEndPoint.value : this.signEndPoint
);
}