selectReason method
Selects a reason for reporting the comment.
reason is the ReportReason selected by the user.
Implementation
void selectReason(ReportReason reason) {
selectedReason = reason;
notifyListeners();
}
Selects a reason for reporting the comment.
reason is the ReportReason selected by the user.
void selectReason(ReportReason reason) {
selectedReason = reason;
notifyListeners();
}