FieldInfo constructor
const
FieldInfo({
- required String name,
- required String getter,
- required bool isMethod,
- required String? defaultValueCode,
- required bool nonNullable,
- required Expression gqlType,
- required List<
String> inputs, - required String? description,
- required String? deprecationReason,
- required GraphQLField fieldAnnot,
- 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,
});