GraphqlOperation class

A cohesive definition for GraphqlQueryOperationTransformer's instance fields.

Constructors

GraphqlOperation({String? document, Map<String, dynamic>? variables})
const
GraphqlOperation.fromJson(Map<String, dynamic> data)
factory

Properties

document String?
The GraphQL operation header. Fields will be used but will not be available to the Dart model.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variables Map<String, dynamic>?
Attached variables to the GraphQL operation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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