CollectionListObject.fromJsonList constructor

CollectionListObject.fromJsonList(
  1. List json
)

Implementation

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