fromJson method
Implementation
ItemListModel fromJson(data) {
data.forEach((v) => list.add(ItemModel().fromJson(v, keyName: keyName)));
return this;
}
ItemListModel fromJson(data) {
data.forEach((v) => list.add(ItemModel().fromJson(v, keyName: keyName)));
return this;
}