SchemaPrinter class

Constructors

SchemaPrinter({String printTypeName(GraphQLNamedType) = defPrintTypeName, String printTypeReference(GraphQLType) = defPrintTypeReference})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
printTypeName String Function(GraphQLNamedType)
final
printTypeReference String Function(GraphQLType)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSchemaOfCommonNames(GraphQLSchema schema) bool
GraphQL schema define root types for each type of operation. These types are the same as any other type and can be named in any manner, however there is a common naming convention:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printArgs(List<GraphQLFieldInput> args, [String indentation = '']) String
printBlock(Iterable<String> items) String
printDeprecated(String? reason) String
printDescription(String? description, [String indentation = '', bool firstInBlock = true]) String
printDirective(GraphQLDirective directive) String
printDirectives(GraphQLElement element) String
printEnum(GraphQLEnumType type) String
printFields(GraphQLObjectType type) String
printFilteredSchema(GraphQLSchema schema, bool directiveFilter(GraphQLDirective), bool typeFilter(GraphQLNamedType)) String
printImplementedInterfaces(GraphQLObjectType type) String
printInputObject(GraphQLInputObjectType type) String
printInputValue(GraphQLFieldInput arg) String
printInterface(GraphQLObjectType type) String
printObject(GraphQLObjectType type) String
printScalar(GraphQLScalarType type) String
printSchemaDefinition(GraphQLSchema schema) String?
printSpecifiedByURL(GraphQLScalarType scalar) String
printType(GraphQLNamedType type) String
printUnion(GraphQLUnionType type) String
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited