AnimeListPageInfo.fromJson constructor
Implementation
AnimeListPageInfo.fromJson(Map<String, dynamic> map)
: pageNumber = map[CURRENT_PAGE],
maxPageNumber = map[MAX_PAGE_NUMBER],
animes = List.from(map[ANIME_ITEMS])
.map<AnimeItem>((itemJson) => AnimeItem.fromJson(itemJson))
.toList();