offsetToVector2 function

Vector2 offsetToVector2(
  1. Offset offset
)

This method converts the corresponding Offset to Vector2

Implementation

vector.Vector2 offsetToVector2(Offset offset) =>
    vector.Vector2(offset.dx, offset.dy);