toJson method

Map<String, dynamic> toJson()

Converts the OSRef into a JSON object

Implementation

Map<String, dynamic> toJson() =>
    {
      "easting" : easting,
      "northing" : northing,
      "numericalRef" : numericalRef,
      "letterRef": letterRef,
      "datum" : d,
    };