copyWith method

BoundOptions copyWith({
  1. LatLngBounds? bounds,
  2. double? minZoom,
  3. double? maxZoom,
  4. double? minPitch,
  5. double? maxPitch,
  6. bool? unbounded,
})

A copy of this value with the given members replaced.

Implementation

BoundOptions copyWith({
  LatLngBounds? bounds,
  double? minZoom,
  double? maxZoom,
  double? minPitch,
  double? maxPitch,
  bool? unbounded,
}) => BoundOptions(
  bounds: bounds ?? this.bounds,
  minZoom: minZoom ?? this.minZoom,
  maxZoom: maxZoom ?? this.maxZoom,
  minPitch: minPitch ?? this.minPitch,
  maxPitch: maxPitch ?? this.maxPitch,
  unbounded: unbounded ?? this.unbounded,
);