ElementComplexity constructor
const
ElementComplexity(
- int complexity
A GraphQL attachment which specifies a complexity in a GraphQLElement for queryComplexityRuleBuilder. Presented as a directive directiveDefinition in the GraphQL schema.
In code generation use AttachFn.
Implementation
const ElementComplexity(this.complexity);