GraphQLType class abstract
Base class for all GraphQL types in the schema.
Constructors
- GraphQLType({required String name, required GraphQLTypeKind kind})
-
const
Properties
- dartType → String
-
Dart type string for code generation.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- innerType → GraphQLType
-
The inner type (unwrapped from List or NonNull).
no setter
- isList → bool
-
Whether this type is a list (wrapped in
[]).no setter - isNonNull → bool
-
Whether this type is non-null (wrapped in
!).no setter - kind → GraphQLTypeKind
-
final
- name → String
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited