GooglePreferredSource constructor

const GooglePreferredSource({
  1. required String name,
  2. String? publicationId,
  3. String? domain,
  4. String lang = 'pt-BR',
  5. String? trackEvent,
  6. Key? key,
})

Implementation

const GooglePreferredSource({
  required this.name,
  this.publicationId,
  this.domain,
  this.lang = 'pt-BR',
  this.trackEvent,
  super.key,
}) : assert(
       publicationId != null || domain != null,
       'Informe publicationId ou domain.',
     );