operator == method Null safety
- Object? other
override
Check if two vectors are the same.
Implementation
@override
bool operator ==(Object? other) =>
(other is Vector2) &&
(_v2storage[0] == other._v2storage[0]) &&
(_v2storage[1] == other._v2storage[1]);