Collections.fromGraphJson constructor

Collections.fromGraphJson(
  1. Map<String, dynamic> json
)

The Collections from graph json

Implementation

factory Collections.fromGraphJson(Map<String, dynamic> json) => Collections(
      collectionList: _getCollectionList(json),
      hasNextPage: (json['pageInfo'] ?? const {})['hasNextPage'],
    );