PageInfo.fromJson constructor

PageInfo.fromJson(
  1. Map<String, dynamic> json
)

from json

Implementation

factory PageInfo.fromJson(Map<String, dynamic> json) => PageInfo(
      hasNextPage:
          json["has_next_page"] == null ? null : json["has_next_page"],
      endCursor: json["end_cursor"] == null ? null : json["end_cursor"],
    );