initWithIdentifier_batch method

Future<List<AMapLocationRegion?>> initWithIdentifier_batch(
  1. List<String> identifier
)

Implementation

Future<List<AMapLocationRegion?>> initWithIdentifier_batch(List<String> identifier) async {
  assert(true);

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


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