PoiInfo constructor

const PoiInfo({
  1. Key? key,
  2. required String geo,
  3. required String poiName,
  4. required String iconImage,
  5. Function? onGetDirection,
  6. bool? fromFilterData,
  7. bool isDetail = true,
})

Implementation

const PoiInfo(
    {Key? key,
    required this.geo,
    required this.poiName,
    required this.iconImage,
    this.onGetDirection,
    this.fromFilterData,
    this.isDetail = true})
    : super(key: key);