toOffset static method

Offset toOffset(
  1. Vector2 vector
)

Implementation

static Offset toOffset(vm.Vector2 vector) {
  return Offset(vector.x, vector.y);
}