ShareMapPoi constructor

const ShareMapPoi({
  1. required String id,
  2. required String name,
  3. required double lat,
  4. required double lng,
  5. String? externalId,
  6. String? nameEn,
  7. String? description,
  8. String? address,
  9. String? layerCode,
  10. String? poiGroup,
  11. String? poiType,
  12. String? status,
  13. double? areaHa,
  14. double? industrialLandHa,
  15. double? occupancyRate,
  16. String? developer,
  17. String? notes,
  18. int? establishedYear,
  19. int? operationalYear,
  20. int? leaseTermYear,
  21. double? distPortKm,
  22. String? nearestPort,
  23. double? distAirportKm,
  24. String? nearestAirport,
  25. String? nearestHighway,
  26. bool? isEpz,
  27. bool? isVsip,
  28. bool? isHitech,
  29. bool? isEcoIndustrial,
  30. bool? isSupportingIndustry,
  31. bool? hasWwt,
  32. String? phone,
  33. String? email,
  34. String? website,
  35. String? businessId,
  36. Map<String, dynamic>? geometry,
  37. Map<String, dynamic> properties = const {},
})

Implementation

const ShareMapPoi({
  required this.id,
  required this.name,
  required this.lat,
  required this.lng,
  this.externalId,
  this.nameEn,
  this.description,
  this.address,
  this.layerCode,
  this.poiGroup,
  this.poiType,
  this.status,
  this.areaHa,
  this.industrialLandHa,
  this.occupancyRate,
  this.developer,
  this.notes,
  this.establishedYear,
  this.operationalYear,
  this.leaseTermYear,
  this.distPortKm,
  this.nearestPort,
  this.distAirportKm,
  this.nearestAirport,
  this.nearestHighway,
  this.isEpz,
  this.isVsip,
  this.isHitech,
  this.isEcoIndustrial,
  this.isSupportingIndustry,
  this.hasWwt,
  this.phone,
  this.email,
  this.website,
  this.businessId,
  this.geometry,
  this.properties = const {},
});