UnionVarianInfo constructor
const
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
.
Implementation
const UnionVarianInfo({
required this.typeName,
required this.constructorName,
required this.unionName,
required this.fields,
required this.classConfig,
required this.description,
required this.deprecationReason,
required this.isInterface,
required this.hasFromJson,
required this.interfaces,
required this.hasFrezzed,
required this.inputConfig,
required this.isUnion,
required this.typeParams,
required this.attachments,
});