PaginatedModelType<T extends Model> class

The modelType for decoding list query requests.

Constructors

PaginatedModelType(ModelType<T> modelType)
Pass a simple modelType to create the paginated type used to decode list requests.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
modelType → ModelType<T>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callWithType<R>(R action<T>()) → R
Perform action with T as type argument.
inherited
cast(Object o) PaginatedResult<T>
inherited
fromJson(Map<String, dynamic> jsonData, {Map<String, dynamic>? filter, int? limit, GraphQLRequest<PaginatedResult<T>>? requestForNextResult}) PaginatedResult<T>
fromSerializedMap(Map<String, dynamic> serializedMap) PaginatedResult<T>
inherited
isInstance(Object o) bool
inherited
modelName() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
safeCast(Object o) PaginatedResult<T>?
inherited
toString() String
A string representation of this object.
inherited

Operators

operator <(ModelType<Model> other) bool
inherited
operator <=(ModelType<Model> other) bool
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator >(ModelType<Model> other) bool
inherited
operator >=(ModelType<Model> other) bool
inherited