visitDocumentNode method
Visit DocumentNode.
Implementation
@override
List<GraphQLError>? visitDocumentNode(DocumentNode node) {
operationCount =
node.definitions.whereType<OperationDefinitionNode>().length;
}
Visit DocumentNode.
@override
List<GraphQLError>? visitDocumentNode(DocumentNode node) {
operationCount =
node.definitions.whereType<OperationDefinitionNode>().length;
}