fromList static method
Implementation
static ModelLessArray fromList(List list) {
ModelLessArray arrayApiModels = ModelLessArray();
for (var element in list) {
if (element is Map) {
arrayApiModels.set(ModelLess.fromDynamic(element));
} else {
arrayApiModels.set(element);
}
}
return arrayApiModels;
}