transform method
Returns new bounds transformed from this bounds using transform.
Implementation
@override
Bounds<T> transform(TransformPosition transform) => BoundsBase(
min: min.transform(transform) as T,
max: max.transform(transform) as T,
);