CollectionListObject.fromJsonList constructor
CollectionListObject.fromJsonList(
- List json
Implementation
CollectionListObject.fromJsonList(List<dynamic> json) {
collections = [];
for (var element in json) {
collections!.add(Collection.fromJson(element));
}
}