CustomPixel constructor

const CustomPixel({
  1. required String id,
  2. required String head,
  3. String track = 'function(ev,p){}',
  4. bool consentMode = false,
  5. String noscript = '',
})

Implementation

const CustomPixel({
  required this.id,
  required String head,
  String track = 'function(ev,p){}',
  this.consentMode = false,
  String noscript = '',
})  : _head = head,
      _track = track,
      _noscript = noscript;