GraphQLField class

An annotation for configuring the generated code of a GraphQL field

Constructors

GraphQLField({String? name, bool? omit, bool? nullable, String? type})
An annotation for configuring the generated code of a GraphQL field
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the GraphQLObjectField.
final
nullable bool
If true, this field will be nullable even if the Dart type is non-nullable.
final
omit bool
If true, this field will be omitted in the generated GraphQLObjectType.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
A String containing a getter for the GraphQLType.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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