toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of RegionPoint.

Implementation

Map<String, dynamic> toJson() {
  return {'X': X, 'Y': Y};
}