Event constructor

Event({
  1. required String action,
  2. required EventCategory? category,
  3. String? label,
  4. int? value,
})

Implementation

Event({required this.action, required this.category, this.label, this.value})
    : super() {
  type = HitCategory.EVENT;
}