selectReason method

void selectReason(
  1. ChatReportReason reason
)

Selects a reason for reporting the message.

reason is the ChatReportReason selected by the user.

Implementation

void selectReason(ChatReportReason reason) {
  selectedReason = reason;
  notifyListeners();
}