blockUser static method

Future<User> blockUser(
  1. String userId
)

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

Implementation

static Future<User> blockUser(String userId) async {
  sbLog.i(StackTrace.current, 'userId: $userId');
  return await _instance._chat.blockUser(userId);
}