TypeContext class
A GraphQL type node.
Constructors
- TypeContext(TypeNameContext? typeName, ListTypeContext? listType, [Token? exclamationToken])
Properties
- exclamationToken → Token?
-
A source token, present in a nullable type literal.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNullable → bool
-
Whether the type is nullable.
no setter
- listType → ListTypeContext?
-
A list type that is being referenced.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → FileSpan
-
no setteroverride
- typeName → TypeNameContext?
-
The name of the referenced type.
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