GReviewsReq class abstract
Constructors
- GReviewsReq([dynamic updates(GReviewsReqBuilder b)])
-
factory
Properties
- execRequest → Request
-
no setter
- executeOnListen → bool
-
If set to
true
, this request will be automatically added to the request controller when the stream returned byrequest()
is listened tono setter - fetchPolicy → FetchPolicy?
-
The
FetchPolicy
to be used when executing this operationno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- operation → Operation
-
no setter
- optimisticResponse → GReviewsData?
-
The optimistic result, generally used when running a mutation
no setter
- requestId → String?
-
The unique identifier for this request.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
updateCacheHandlerContext
→ Map<
String, dynamic> ? -
An arbitrary JSON object that can be used to pass data to the
UpdateCacheHandler
no setter - updateCacheHandlerKey → String?
-
The key that maps to a
UpdateCacheHandler
, defined on the clientno setter - updateResult → GReviewsData? Function(GReviewsData?, GReviewsData?)?
-
Optional function to update the result based on the previous result. Useful
for pagination.
no setter
- vars → GReviewsVars
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseData(
Map< String, dynamic> json) → GReviewsData? - Parses data into a concrete type for the given operation
-
rebuild(
dynamic updates(GReviewsReqBuilder)) → GReviewsReq -
Rebuilds the instance.
inherited
-
toBuilder(
) → GReviewsReqBuilder -
Converts the instance to a builder
B
.inherited -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
GReviewsReq> -
no setter
Static Methods
-
fromJson(
Map< String, dynamic> json) → GReviewsReq?