toD method

Vector2D toD([
  1. Pointer<Vector2C>? ptr
])

Implementation

Vector2D toD([Pointer<Vector2C>? ptr]) => .new(
  originalPointer: ptr,
  x: x,
  y: y,
);