queryRoomAllAttributes method

Future<Map> queryRoomAllAttributes(
  1. String roomID
)

Implementation

Future<Map<dynamic, dynamic>> queryRoomAllAttributes(String roomID) async {
  final result =
      await promiseToFuture(ZIM.getInstance()!.queryRoomAllAttributes(roomID))
          .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return jsObjectToMap(result);
}