enableBackgroundLocation_batch method
Future<List<void> >
enableBackgroundLocation_batch(
- List<
int> var1, - List<
android_app_Notification> var2
Implementation
Future<List<void>> enableBackgroundLocation_batch(List<int> var1, List<android_app_Notification> var2) async {
assert(var1.length == var2.length);
// invoke native method
final resultBatch = await kAmapLocationFluttifyChannel.invokeMethod('com.amap.api.location.AMapLocationClient::enableBackgroundLocation_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {"var1": var1[__i__], "var2": var2[__i__], "__this__": this[__i__]}]);
return (resultBatch as List).map((__result__) => __result__).cast<void>().toList();
}