deleteRoomAttributes method

Future<Map> deleteRoomAttributes(
  1. dynamic keys,
  2. String roomID,
  3. dynamic config
)

Implementation

Future<Map<dynamic, dynamic>> deleteRoomAttributes(
    dynamic keys, String roomID, dynamic config) async {
  Object _config = mapToJSObj(config);

  final result = await promiseToFuture(
          ZIM.getInstance()!.deleteRoomAttributes(keys, roomID, _config))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return jsObjectToMap(result);
}