copyWith method
ExcludedArea
copyWith({
- ExcludedAreaType? type,
- ExcludedAreaSeverity? severity,
- RouteDistance? extent,
- List<
GeoPoint> ? points,
Implementation
ExcludedArea copyWith({
ExcludedAreaType? type,
ExcludedAreaSeverity? severity,
RouteDistance? extent,
List<GeoPoint>? points
}) {
return ExcludedArea(
type: type ?? this.type,
severity: severity ?? this.severity,
extent: extent ?? this.extent,
points: points ?? this.points
);
}