PageInfo class

Annotations
  • @immutable

Constructors

PageInfo({required bool hasNextPage, required bool hasPreviousPage, String? startCursor, String? endCursor})
const
PageInfo.fromJson(Map<String, Object?> map)
factory

Properties

endCursor String?
final
hashCode int
The hash code for this object.
no setteroverride
hasNextPage bool
final
hasPreviousPage bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startCursor String?
final

Methods

copyWith({bool? hasNextPage, bool? hasPreviousPage, String? startCursor, String? endCursor}) PageInfo
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Properties

graphQLType → GraphQLObjectType<PageInfo>
no setter