Returns a copy with updated values.
Point copyWith({double? x, double? y}) { return Point(x ?? this.x, y ?? this.y); }