Collections.fromGraphJson constructor

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

Implementation

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