setRoomAttributes method

Future<Map> setRoomAttributes(
  1. Map roomAttributes,
  2. String roomID,
  3. dynamic config
)

Implementation

Future<Map<dynamic, dynamic>> setRoomAttributes(
    Map roomAttributes, String roomID, dynamic config) async {
  final result = await promiseToFuture(ZIM.getInstance()!.setRoomAttributes(
          _mapToJSObject(roomAttributes), roomID, _mapToJSObject(config)))
      .catchError(_handleError);

  return _jsObjectToMap(result);
}