setRoomAttributes method
Implementation
Future<Map<dynamic, dynamic>> setRoomAttributes(
Map roomAttributes, String roomID, dynamic config) async {
Object _config = mapToJSObj(config);
final result = await promiseToFuture(ZIM
.getInstance()!
.setRoomAttributes(mapToJSObj(roomAttributes), roomID, _config))
.catchError((e) {
throw PlatformException(code: e.code.toString(), message: e.message);
});
return jsObjectToMap(result);
}