operator + method

Vector2 operator +(
  1. Vector2 other
)

Add two vectors.

Implementation

Vector2 operator +(Vector2 other) => clone()..add(other);