containsCoordinate_batch method

Future<List<bool?>> containsCoordinate_batch(
  1. List<CLLocationCoordinate2D> coordinate
)

Implementation

Future<List<bool?>> containsCoordinate_batch(List<CLLocationCoordinate2D> coordinate) async {
  assert(true);

  // invoke native method
  final resultBatch = await kAmapLocationFluttifyChannel.invokeMethod('AMapLocationRegion::containsCoordinate_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {"coordinate": coordinate[__i__], "__this__": this[__i__]}]);


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