setCurrentLocation_batch method

Future<List<void>> setCurrentLocation_batch(
  1. List<com_amap_api_location_AMapLocation> var1
)

Implementation

Future<List<void>> setCurrentLocation_batch(List<com_amap_api_location_AMapLocation> var1) async {
  assert(true);

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


  return (resultBatch as List).map((__result__) => __result__).cast<void>().toList();
}