LocationInfo.from constructor

LocationInfo.from(
  1. LocationData data
)

Implementation

LocationInfo.from(LocationData data)
    : _json = {'lat': data.latitude, 'lng': data.longitude};