toJson method

Map<String, dynamic> toJson()
inherited

Implementation

Map<String, dynamic> toJson() => {
      'coordinates': [_longitude, _latitude]
    };