MetaAppEventsConfig constructor

const MetaAppEventsConfig({
  1. required String tenantId,
  2. String? appId,
  3. String? clientToken,
  4. required bool enabled,
  5. bool viewContentEnabled = false,
  6. bool? profileViewEnabled,
  7. bool? eventViewEnabled,
  8. bool completeRegistrationEnabled = false,
  9. String? webPixelId,
  10. bool webConsentGranted = false,
  11. bool advertiserIdCollectionEnabled = false,
})

Implementation

const MetaAppEventsConfig({
  required this.tenantId,
  this.appId,
  this.clientToken,
  required this.enabled,
  this.viewContentEnabled = false,
  this.profileViewEnabled,
  this.eventViewEnabled,
  this.completeRegistrationEnabled = false,
  this.webPixelId,
  this.webConsentGranted = false,
  this.advertiserIdCollectionEnabled = false,
});