utils_graphql
library
Functions
-
genericTypeWhenFutureOrStream(DartType type)
→ DartType?
-
-
getClassConfig(GeneratorCtx ctx, InterfaceElement clazz)
→ GraphQLObject?
-
-
getGraphQLInterfaces(GeneratorCtx ctx, InterfaceElement clazz)
→ List<Expression>
-
-
getReturnType(DartType _retType)
→ String
-
-
inferType(List<CustomTypes> customTypes, Element typeElement, String name, DartType type, {bool? nullable, String? genericTypeName, Map<String, TypeParameterElement>? generics, bool isInput = false})
→ Expression
-
-
inputTypeAnnotation(Element elem)
→ GraphQLInput?
-
-
isGraphQLObject(InterfaceType clazz)
→ bool
-
-
isInputType(Element elem)
→ bool
-
-
isInterface(InterfaceElement clazz)
→ bool
-
-
isStreamOrAsyncStream(DartType type)
→ bool
-