Poi.named constructor
Poi.named({
- required Object jsonData,
- required String idstore,
- required String name,
- required int date,
- required String duration,
- required double latitude,
- required String locationid,
- required double longitude,
- required int radius,
- String? city,
- double? distance,
- String? zipcode,
- String? address,
- String? countrycode,
- String? tags,
- String? types,
- String? contact,
- Map<
String, dynamic> ? userProperties, - bool? openNow,
The Poi.named() 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.named({
required this.jsonData,
required this.idstore,
required this.name,
required this.date,
required this.duration,
required this.latitude,
required this.locationid,
required this.longitude,
required this.radius,
this.city,
this.distance,
this.zipcode,
this.address,
this.countrycode,
this.tags,
this.types,
this.contact,
this.userProperties,
this.openNow,
});