Returns a JSON representation of RegionPoint.
Map<String, dynamic> toJson() { return {'X': X, 'Y': Y}; }