setAuditEnabled method
Enables/disables native audit event collection in the worker.
Implementation
Future<bool> setAuditEnabled({required bool enabled}) async {
final r = await _sendRequest<BoolResponse>(
AuditEnableRequest(_nextRequestId(), enabled: enabled),
);
return r.value;
}