UnionVarianInfo class

Constructors

UnionVarianInfo({required String typeName, required String constructorName, required String unionName, required List<FieldInfo> fields, required GraphQLObject? classConfig, required String? description, required String? deprecationReason, required bool isInterface, required bool hasFromJson, required List<Expression> interfaces, required bool hasFrezzed, required GraphQLInput? inputConfig, required bool isUnion, required List<TypeParameterElement> typeParams, required String? attachments})
Contains The necessary information to generate a GraphQLObjectType or GraphQLInputObjectType.
const

Properties

attachments String?
final
classConfig → GraphQLObject?
final
constructorName String
final
deprecationReason String?
final
description String?
final
fieldName String
no setter
fields List<FieldInfo>
final
graphQLTypeName String
no setter
hasFrezzed bool
final
hasFromJson bool
final
hashCode int
The hash code for this object.
no setterinherited
inputConfig → GraphQLInput?
final
interfaces List<Expression>
final
isInput bool
no setter
isInterface bool
final
isUnion bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeName String
final
typeParams List<TypeParameterElement>
final
unionName String
final

Methods

expression() → Expression
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeTrailingUnder(String value) String
serializer() → Code
toString() String
A string representation of this object.
inherited
typeDefinitionCode() String

Operators

operator ==(Object other) bool
The equality operator.
inherited