GraphQLDocumentation class
A metadata annotation used to provide documentation and type information
to package:leto_generator
in code generation
Constructors
- GraphQLDocumentation({String? description, String? deprecationReason, GraphQLType type()?, String? typeName})
-
A metadata annotation used to provide documentation and type information
to
package:leto_generator
in code generationconst
Properties
- deprecationReason → String?
-
The reason the annotated field or enum value was deprecated, if any.
final
- description → String?
-
The description of the annotated class, field, or enum value, to be
displayed in tools like GraphiQL.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → (GraphQLType Function()?)
-
A constant callback that returns an explicit type for the annotated field,
rather than having it be assumed
final
- typeName → String?
-
The name of an explicit type for the annotated field, rather than
having it be assumed.
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