transform method
Returns a new geometry with all points transformed using transform.
The transformed geometry object must be of the same geometry type with this object.
Implementation
@override
Polygon<T> transform(TransformPosition transform) =>
Polygon(rings.transform(transform, lazy: false));