immutable property

ImmutableVector2 immutable

Returns an immutable representation of the vector.

Implementation

ImmutableVector2 get immutable => (x: x, y: y);