fromGraphJson static method

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

Implementation

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