FieldInfo constructor

const FieldInfo({
  1. required String name,
  2. required String getter,
  3. required bool isMethod,
  4. required String? defaultValueCode,
  5. required bool nonNullable,
  6. required Expression gqlType,
  7. required List<String> inputs,
  8. required String? description,
  9. required String? deprecationReason,
  10. required GraphQLField fieldAnnot,
  11. required String? attachments,
})

Necessary information for printing a GraphQLFieldInput or GraphQLObjectField

Implementation

const FieldInfo({
  required this.name,
  required this.getter,
  required this.isMethod,
  required this.defaultValueCode,
  required this.nonNullable,
  required this.gqlType,
  required this.inputs,
  required this.description,
  required this.deprecationReason,
  required this.fieldAnnot,
  required this.attachments,
});