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