toggleReportUser method

void toggleReportUser(
  1. bool? value
)

Toggles whether to report the user.

value is the new value. If null, defaults to false.

Implementation

void toggleReportUser(bool? value) {
  _reportUser = value ?? false;
  notifyListeners();
}