toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  return {
    'hasNextPage': hasNextPage,
    'hasPreviousPage': hasPreviousPage,
    'startCursor': startCursor,
    'endCursor': endCursor,
  };
}