updatePrivacyAgree static method
Future<void>
updatePrivacyAgree(
- AMapPrivacyAgreeStatus agreeStatus
)
Implementation
static Future<void> updatePrivacyAgree(AMapPrivacyAgreeStatus agreeStatus) async {
// print log
if (fluttifyLogEnabled) {
debugPrint('fluttify-dart: AMapLocationManager::updatePrivacyAgree([])');
}
// invoke native method
final __result__ = await kAmapLocationFluttifyChannel.invokeMethod('AMapLocationManager::updatePrivacyAgree', {"agreeStatus": agreeStatus.toValue()});
// handle native call
return __result__;
}