Generates a hash code for this offset.
The hash code is based on both x and y coordinates.
@override int get hashCode => Object.hash(x, y);