updatePrivacyAgree_batch static method

Future<List<void>> updatePrivacyAgree_batch(
  1. List<AMapPrivacyAgreeStatus> agreeStatus
)

Implementation

static Future<List<void>> updatePrivacyAgree_batch(List<AMapPrivacyAgreeStatus> agreeStatus) async {
  assert(true);

  // invoke native method
  final resultBatch = await kAmapLocationFluttifyChannel.invokeMethod('AMapLocationManager::updatePrivacyAgree_batch', [for (int __i__ = 0; __i__ < agreeStatus.length; __i__++) {"agreeStatus": agreeStatus[__i__].toValue()}]);


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