internal/location library
Classes
- Location
-
The
class Locationis 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 methodjsonToObjthat takes in a JSON object and returns an instance of theLocationclass with the values extracted from the JSON object.