copyWith method

Feature copyWith({
  1. List<num>? bbox,
  2. String? type,
  3. Properties? properties,
  4. Geometry? geometry,
})

Implementation

Feature copyWith({
  List<num>? bbox,
  String? type,
  Properties? properties,
  Geometry? geometry,
}) =>
    Feature(
      bbox: bbox ?? this.bbox,
      type: type ?? this.type,
      properties: properties ?? this.properties,
      geometry: geometry ?? this.geometry,
    );