setErrorCode_batch method

Future<List<void>> setErrorCode_batch(
  1. List<int> var1
)

Implementation

Future<List<void>> setErrorCode_batch(List<int> var1) async {
  assert(true);

  // invoke native method
  final resultBatch = await kAmapLocationFluttifyChannel.invokeMethod('com.amap.api.location.AMapLocation::setErrorCode_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();
}