toJson method

Map<String, dynamic> toJson()

Converts this measurement location to its JSON representation.

Returns a map with the key "measurement-location" and the value as the string representation of this location.

Implementation

Map<String, dynamic> toJson() => {"measurement-location": value};