addAroundPOIRegionForMonitoringWithLocationPoint_aroundRadius_keyword_POIType_size_customID_batch method

Future<List<void>> addAroundPOIRegionForMonitoringWithLocationPoint_aroundRadius_keyword_POIType_size_customID_batch(
  1. List<CLLocationCoordinate2D> locationPoint,
  2. List<int> aroundRadius,
  3. List<String> keyword,
  4. List<String> type,
  5. List<int> size,
  6. List<String> customID,
)

Implementation

Future<List<void>> addAroundPOIRegionForMonitoringWithLocationPoint_aroundRadius_keyword_POIType_size_customID_batch(List<CLLocationCoordinate2D> locationPoint, List<int> aroundRadius, List<String> keyword, List<String> type, List<int> size, List<String> customID) async {
  assert(locationPoint.length == aroundRadius.length && aroundRadius.length == keyword.length && keyword.length == type.length && type.length == size.length && size.length == customID.length);

  // invoke native method
  final resultBatch = await kAmapLocationFluttifyChannel.invokeMethod('AMapGeoFenceManager::addAroundPOIRegionForMonitoringWithLocationPoint_aroundRadius_keyword_POIType_size_customID_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {"locationPoint": locationPoint[__i__], "aroundRadius": aroundRadius[__i__], "keyword": keyword[__i__], "type": type[__i__], "size": size[__i__], "customID": customID[__i__], "__this__": this[__i__]}]);


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