transform method
Returns a new feature with geometry transformed using transform.
Transforms only geometry of this feature. Other members, id and properties, are set without modifications to a new feature object.
Implementation
@override
Feature<T> transform(TransformPosition transform) => Feature(
id: _id,
properties: _properties,
geometry: _geometry?.transform(transform) as T?,
);