unblockUser method

Future<void> unblockUser(
  1. String userId
)

Unblocks a user.

userId is the ID of the user to unblock.

Throws an exception if unblocking fails.

Implementation

Future<void> unblockUser(String userId) async {
  await controller.unblockUser(userId);
  notifyListeners();
}