copyWith method

LatLngBounds copyWith({
  1. LatLng? southWest,
  2. LatLng? northEast,
})

Implementation

LatLngBounds copyWith({
  LatLng? southWest,
  LatLng? northEast,
}) {
  return LatLngBounds(
    southWest: southWest ?? this.southWest,
    northEast: northEast ?? this.northEast,
  );
}