getAllGeoFence_batch method

Future<List<List<com_amap_api_fence_GeoFence>?>> getAllGeoFence_batch()

Implementation

Future<List<List<com_amap_api_fence_GeoFence>?>> getAllGeoFence_batch() async {
  assert(true);

  // invoke native method
  final resultBatch = await kAmapLocationFluttifyChannel.invokeMethod('com.amap.api.fence.GeoFenceClient::getAllGeoFence_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {"__this__": this[__i__]}]);


  return (resultBatch as List).map((__result__) => (__result__ as List?)?.map((it) => AmapLocationFluttifyAndroidAs<com_amap_api_fence_GeoFence>(it)).where((e) => e != null).cast<com_amap_api_fence_GeoFence>().toList()).cast<List<com_amap_api_fence_GeoFence>?>().toList();
}