copy property
Creates a deep copy of this rectangle with identical coordinates.
Generates a new RectangleGeographicArea instance with the same top-left and bottom-right coordinates as this rectangle. The new instance is completely independent and modifications to it will not affect the original instance.
Returns
- A new RectangleGeographicArea with identical coordinate values.
Implementation
RectangleGeographicArea get copy {
return RectangleGeographicArea(
topLeft: topLeft.copy,
bottomRight: bottomRight.copy,
);
}