toggleBlockUser method
Toggles whether to block the user.
value is the new value. If null, defaults to false.
Implementation
void toggleBlockUser(bool? value) {
_blockUser = value ?? false;
notifyListeners();
}
Toggles whether to block the user.
value is the new value. If null, defaults to false.
void toggleBlockUser(bool? value) {
_blockUser = value ?? false;
notifyListeners();
}