copyInto method Null safety

Vector2 copyInto(
  1. Vector2 arg
)

Copy this into arg. Returns arg.

Implementation

Vector2 copyInto(Vector2 arg) {
  final argStorage = arg._v2storage;
  argStorage[1] = _v2storage[1];
  argStorage[0] = _v2storage[0];
  return arg;
}