setAutoLogAppEventsEnabled method

Future<void> setAutoLogAppEventsEnabled(
  1. bool enabled
)

Re-enables auto logging of app events after user consent if disabled for GDPR-compliance.

See: https://developers.facebook.com/docs/app-events/gdpr-compliance

Implementation

Future<void> setAutoLogAppEventsEnabled(bool enabled) {
  return _channel.invokeMethod<void>('setAutoLogAppEventsEnabled', enabled);
}