getDistrictItemList method
Implementation
Future<List<com_amap_api_fence_DistrictItem>?> getDistrictItemList() async {
// print log
if (fluttifyLogEnabled) {
debugPrint('fluttify-dart: com.amap.api.fence.GeoFence@$refId::getDistrictItemList([])');
}
// invoke native method
final __result__ = await kAmapLocationFluttifyChannel.invokeMethod('com.amap.api.fence.GeoFence::getDistrictItemList', {"__this__": this});
// handle native call
return (__result__ as List?)?.map((it) => AmapLocationFluttifyAndroidAs<com_amap_api_fence_DistrictItem>(it)).where((e) => e != null).cast<com_amap_api_fence_DistrictItem>().toList();
}