banUser method

void banUser(
  1. String userId
)

Implementation

void banUser(String userId) {
  postMessage("banUser", {"userId": userId});
}