internal/location library
Classes
- Location
-
The
class Location
is defining a data model for a location. It has properties such asdate
,latitude
,locationDescription
,locationId
, andlongitude
. It also has a constructor that takes in values for these properties and assigns them. Additionally, it has a static methodjsonToObj
that takes in a JSON object and returns an instance of theLocation
class with the values extracted from the JSON object.