printIntrospectionSchema function
String
printIntrospectionSchema(
- GraphQLSchema schema, {
- SchemaPrinter printer = const SchemaPrinter(),
Returns the Schema Definition Language (SDL) string representation of the
introspection types in the given schema
.
Implementation
String printIntrospectionSchema(
GraphQLSchema schema, {
SchemaPrinter printer = const SchemaPrinter(),
}) {
return printer.printFilteredSchema(
schema,
isSpecifiedDirective,
isIntrospectionType,
);
}