CollectionList.fromMap constructor
Implementation
factory CollectionList.fromMap(Map<String, dynamic> map) {
return CollectionList(
total: map['total'],
collections: List<Collection>.from(
map['collections'].map((p) => Collection.fromMap(p))),
);
}