selectReason method

void selectReason(
  1. ReportReason reason
)

Selects a reason for reporting the comment.

reason is the ReportReason selected by the user.

Implementation

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