queryRoomMemberList method
Implementation
Future<Map<dynamic, dynamic>> queryRoomMemberList(
String roomID, dynamic config) async {
Object _config = mapToJSObj(config);
final result = await promiseToFuture(
ZIM.getInstance()!.queryRoomMemberList(roomID, _config))
.catchError((e) {
throw PlatformException(code: e.code.toString(), message: e.message);
});
Map resultMap = jsObjectToMap(result);
resultMap['nextFlag'] =
resultMap['nextFlag'] is String ? resultMap['nextFlag'] : '';
return resultMap;
}