List<T> fromList(List list) { return list.cast<Map<String, Object?>>().map((e) => fromJson(e)).toList(); }