utils_graphql library

Constants

graphQLObjectTypeChecker → const TypeChecker

Properties

graphQLFieldSuffix String
no setter
graphqlTypeSuffix String
no setter
serializerSuffix String
no setter
unionKeySuffix String
no setter

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