PointOfInterest constructor
PointOfInterest({ - required int id,
- required String name,
- required String description,
- required String address,
- required String imageURL,
- required double latitude,
- required double longitude,
- String? customerID,
- num? levelID,
- required List<String> tags,
- String? mediaType,
- String? mediaURL,
})
Implementation
PointOfInterest(
{required this.id,
required this.name,
required this.description,
required this.address,
required this.imageURL,
required this.latitude,
required this.longitude,
this.customerID,
this.levelID,
required this.tags,
this.mediaType,
this.mediaURL}) {
coordinate =
Coordinate(latitude: latitude, longitude: longitude, level: levelID);
}