Operation class

An operation in a document, optionally defined by operationName

Annotations
  • @immutable

Constructors

Operation({required DocumentNode document, String? operationName})
const

Properties

document → DocumentNode
Document containing at least one OperationDefinitionNode
final
hashCode int
The hash code for this object.
no setteroverride
operationName String?
Name of the executable definition
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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