Consent constructor
Consent({
- 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";
}