copyWith method

ExcludedArea copyWith({
  1. ExcludedAreaType? type,
  2. ExcludedAreaSeverity? severity,
  3. RouteDistance? extent,
  4. 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
  );
}