Consent constructor

Consent({
  1. required bool hasConsented,
})

Implementation

Consent({required bool hasConsented})
    : super(action: "fs_consent", category: EventCategory.User_Engagement) {
  type = HitCategory.CONSENT;
  label = hasConsented ? "Flutter:true" : "Flutter:false";
}