GHeroForEpisodeReq class abstract
Constructors
- GHeroForEpisodeReq([void updates(GHeroForEpisodeReqBuilder b)])
-
factory
Properties
- context → Context?
-
The
Context
to be passed to links.no setter - 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 → GHeroForEpisodeData?
-
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 → GHeroForEpisodeData? Function(GHeroForEpisodeData?, GHeroForEpisodeData?)?
-
Optional function to update the result based on the previous result. Useful
for pagination.
no setter
- vars → GHeroForEpisodeVars
-
no setter
Methods
-
dataToJson(
GHeroForEpisodeData data) → Map< String, dynamic> -
Serializes data into a JSON object
This is a simple wrapper on the
toJson
method on the data class -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseData(
Map< String, dynamic> json) → GHeroForEpisodeData? - Parses data into a concrete type for the given operation
-
rebuild(
dynamic updates(GHeroForEpisodeReqBuilder)) → GHeroForEpisodeReq -
Rebuilds the instance.
inherited
-
toBuilder(
) → GHeroForEpisodeReqBuilder -
Converts the instance to a builder
B
.inherited -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
transformOperation(
Operation transform(Operation)) → OperationRequest< GHeroForEpisodeData, GHeroForEpisodeVars> -
varsToJson(
) → Map< String, dynamic> -
Serializes variables into a JSON object
This is a simple wrapper on the
toJson
method on the variables class
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
GHeroForEpisodeReq> -
no setter
Static Methods
-
fromJson(
Map< String, dynamic> json) → GHeroForEpisodeReq?