ElementComplexity class

Implemented types

Constructors

ElementComplexity(int complexity)
A GraphQL attachment which specifies a complexity in a GraphQLElement for queryComplexityRuleBuilder. Presented as a directive directiveDefinition in the GraphQL schema.
const

Properties

complexity int
The complexity cost
final
directiveDefinition GraphQLDirective
The directive definition of the directiveValue
no setteroverride
directiveValue → DirectiveNode
The directive value represented by this object
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
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 other) bool
The equality operator.
inherited