SelectionSet class Null safety

Selection Sets specify the Fields to select from their cooresponding schema type, either directly, or indirectly through FragmentSpreads and InlineFragments.

OperationDefinitions only consist of an optional operation name and a SelectionSet into one of the root OperationTypeDefinitions.

An operation selects the set of information it needs, and will receive exactly that information and nothing more, avoiding over‐fetching and under‐fetching data.

Inheritance
Annotations

Constructors

SelectionSet(SelectionSetNode? astNode, [TypeDefinition? schemaType, GetExecutableType? getType])
const

Properties

astNode SelectionSetNode?
final
fields List<Field>
read-only
fragmentSpreads List<FragmentSpread>
read-only
getType GetExecutableType
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
inlineFragments List<InlineFragment>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
schemaType TypeDefinition?
final
selections List<Selection>
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object o) bool
The equality operator. [...]
inherited