initWithCoordinates_count_identifier_batch method
Implementation
Future<List<AMapLocationPolygonRegion?>> initWithCoordinates_count_identifier_batch(List<List<CLLocationCoordinate2D>> coordinates, List<int> count, List<String> identifier) async {
assert(coordinates.length == count.length && count.length == identifier.length);
// invoke native method
final resultBatch = await kAmapLocationFluttifyChannel.invokeMethod('AMapLocationPolygonRegion::initWithCoordinates_count_identifier_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {"coordinates": coordinates[__i__], "count": count[__i__], "identifier": identifier[__i__], "__this__": this[__i__]}]);
return (resultBatch as List).map((__result__) => AmapLocationFluttifyIOSAs<AMapLocationPolygonRegion>(__result__)).cast<AMapLocationPolygonRegion?>().toList();
}