Converts list to a List of TypeInfo.
list
static List<TypeInfo> toList(Iterable<Object> list, {bool growable = false}) { return list.map((e) => TypeInfo.from(e)).toList(growable: growable); }