copyWith method

LatLngBounds copyWith({
  1. LatLng? southwest,
  2. LatLng? northeast,
})

A copy of this value with the given members replaced.

Implementation

LatLngBounds copyWith({LatLng? southwest, LatLng? northeast}) => LatLngBounds(
  southwest: southwest ?? this.southwest,
  northeast: northeast ?? this.northeast,
);