blockUser method

Future<User> blockUser(
  1. String userId
)

Blocks the specified User ID. Blocked User cannot send messages to the blocker.

Implementation

Future<User> blockUser(String userId) async {
  return await SendbirdChat.blockUser(userId);
}