Consent constructor

Consent({
  1. required bool hasConsented,
})

Implementation

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