UnionVarianInfo constructor

const UnionVarianInfo({
  1. required String typeName,
  2. required String constructorName,
  3. required String unionName,
  4. required List<FieldInfo> fields,
  5. required GraphQLObject? classConfig,
  6. required String? description,
  7. required String? deprecationReason,
  8. required bool isInterface,
  9. required bool hasFromJson,
  10. required List<Expression> interfaces,
  11. required bool hasFrezzed,
  12. required GraphQLInput? inputConfig,
  13. required bool isUnion,
  14. required List<TypeParameterElement> typeParams,
  15. 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,
});