ReportCategoryOption constructor

const ReportCategoryOption({
  1. required String code,
  2. required String label,
  3. String? description,
})

Creates a category. code must pass ReasonCategory.isValid; use the codes of the policies of the tenant, so that moderators see their titles.

Implementation

const ReportCategoryOption({required this.code, required this.label, this.description});