GraphQLPage<T> constructor

GraphQLPage<T>({
  1. required Iterable<T> items,
  2. required bool hasNextPage,
  3. String? cursor,
})

Implementation

GraphQLPage({
  required Iterable<T> items,
  required this.hasNextPage,
  this.cursor,
}) : items = List.unmodifiable(items);