unMuteAllChatRoomMembers method

Future<void> unMuteAllChatRoomMembers(
  1. String roomId
)

Unmutes all members.

Only the chat room owner or admin can call this method.

Param roomId The chat room ID.

Throws A description of the exception. See ChatError.

Implementation

Future<void> unMuteAllChatRoomMembers(String roomId) async {
  Map req = {"roomId": roomId};
  Map result = await _channel.invokeMethod(
    ChatMethodKeys.unMuteAllChatRoomMembers,
    req,
  );
  try {
    ChatError.hasErrorFromResult(result);
  } on ChatError catch (e) {
    throw e;
  }
}