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