PageInfo.fromJson constructor
Implementation
factory PageInfo.fromJson(Map<String, Object?> map) {
return PageInfo(
hasNextPage: map['hasNextPage']! as bool,
hasPreviousPage: map['hasPreviousPage']! as bool,
startCursor: map['startCursor'] as String?,
endCursor: map['endCursor'] as String?,
);
}