copyWith method

GeoRect copyWith({
  1. GeoPoint? southWestPoint,
  2. GeoPoint? northEastPoint,
})

Implementation

GeoRect copyWith({
  GeoPoint? southWestPoint,
  GeoPoint? northEastPoint
}) {
  return GeoRect(
    southWestPoint: southWestPoint ?? this.southWestPoint,
    northEastPoint: northEastPoint ?? this.northEastPoint
  );
}