graphql_helpers library


buildTypeString(GraphQLType type, GeneratorOptions options, {bool dartType = true, String replaceLeafWith, String prefix = ''}) String
Build a string repesenting a Dart type, given a GraphQL type.
followType(GraphQLType type) GraphQLType
"Follow" a type to find the leaf scalar or type.
getSingleScalarMap(GeneratorOptions options, GraphQLType type) ScalarMap
Retrieve a scalar mapping of a type.
getTypeByName(GraphQLSchema schema, String name) GraphQLType
Get a full GraphQLType from its canonical name.
schemaFromJsonString(String jsonS) GraphQLSchema
Instantiates a schema from a JSON string.