GraphQLObject class

Signifies that a class should statically generate a GraphQLType.

Implemented types
Annotations
  • @Target({TargetKind.classType})

Constructors

GraphQLObject({List<String> interfaces = const [], bool? omitFields, bool? nullableFields, String? name})
Signifies that a class should statically generate a GraphQLType.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
interfaces List<String>
The interfaces implemented by this GraphQLObjectType
final
name String?
The name of the generated GraphQLType
final
nullableFields bool?
Whether all fields should be nullable by default. Can be overridden with GraphQLField.nullable or globally configured in your build.yaml file.
final
omitFields bool?
Whether all fields should be omitted by default. Can be overridden with GraphQLField.omit or globally configured in your build.yaml file.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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