Poi constructor

Poi(
  1. Object jsonData,
  2. String? city,
  3. String idstore,
  4. String name,
  5. int date,
  6. double? distance,
  7. String duration,
  8. double latitude,
  9. String locationid,
  10. double longitude,
  11. String? zipcode,
  12. int radius,
  13. String? address,
  14. String? countrycode,
  15. String? tags,
  16. String? types,
  17. String? contact,
)

The Poi() constructor is initializing a new instance of the Poi class with the provided values for its properties. The constructor takes in arguments for each property of the Poi class and assigns them to the corresponding property using the this keyword. This allows you to create a new Poi object and set its properties in a single line of code.

Implementation

Poi(
  this.jsonData,
  this.city,
  this.idstore,
  this.name,
  this.date,
  this.distance,
  this.duration,
  this.latitude,
  this.locationid,
  this.longitude,
  this.zipcode,
  this.radius,
  this.address,
  this.countrycode,
  this.tags,
  this.types,
  this.contact,
);