static List<List<int>> toInfo(info) { final List<List<int>> res = []; for (final item in info['references']) { res.add([item["startRange"], item["endRange"]]); } return res; }