print_helpers library

Functions

classDefinitionToSpec(ClassDefinition definition) Spec
Generates a Spec of a single class definition.
enumDefinitionToSpec(EnumDefinition definition) Spec
Generates a Spec of a single enum definition.
fragmentClassDefinitionToSpec(FragmentClassDefinition definition) Spec
Generates a Spec of a single fragment class definition.
generateArgumentClassSpec(QueryDefinition definition) Spec
Generates a Spec of a mutation argument class.
generateLibrarySpec(LibraryDefinition definition) Spec
Gathers and generates a Spec of a whole query/mutation and its dependencies into a single library file.
generateQueryClassSpec(QueryDefinition definition) Spec
Generates a Spec of a query/mutation class.
specToString(Spec spec) → String
Emit a Spec into a String, considering Dart formatting.
writeLibraryDefinitionToBuffer(StringBuffer buffer, LibraryDefinition definition) → void
Generate Dart code typings from a query or mutation and its response from a QueryDefinition into a buffer.