copyWith method

DrawRouting copyWith({
  1. String? type,
  2. List<num>? bbox,
  3. List<Feature>? features,
  4. Metadata? metadata,
})

Implementation

DrawRouting copyWith({
  String? type,
  List<num>? bbox,
  List<Feature>? features,
  Metadata? metadata,
}) =>
    DrawRouting(
      type: type ?? this.type,
      bbox: bbox ?? this.bbox,
      features: features ?? this.features,
      metadata: metadata ?? this.metadata,
    );