Check if two vectors are the same.
@override bool operator ==(Object other) => other is Vector2 && // x == other.x && y == other.y;