List convertList(List list) { return list.map((item) { if (item is Map<Object?, Object?>) { return convertMap(item); } return item; }).toList(); }