copyWith method

Viewport copyWith({
  1. LatLng? low,
  2. LatLng? high,
})

Implementation

Viewport copyWith({LatLng? low, LatLng? high}) {
  return Viewport(low: low ?? this.low, high: high ?? this.high);
}