chatReportReasons top-level constant
Predefined list of report reasons for chat messages.
These are the standard reasons users can select when reporting a message. The labels are in Italian; they should be localized based on the app's language.
To customize, create your own list with localized labels:
final localizedReasons = [
ChatReportReason('spam', localizations.report_reason_spam),
ChatReportReason('hate', localizations.report_reason_hate),
// ...
];
Implementation
const List<ChatReportReason> chatReportReasons = [
ChatReportReason('spam', 'Spam o contenuto fuorviante'),
ChatReportReason('hate', 'Incitamento all\'odio o violenza'),
ChatReportReason('harassment', 'Molestie o bullismo'),
];