beginRoomAttributesBatchOperation method

Future<void> beginRoomAttributesBatchOperation(
  1. String roomID,
  2. dynamic config
)

Implementation

Future<void> beginRoomAttributesBatchOperation(
    String roomID, dynamic config) async {
  Object _config = mapToJSObj(config);

  await promiseToFuture(ZIM
          .getInstance()!
          .beginRoomAttributesBatchOperation(roomID, _config))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return;
}