GraphQLDocumentation class
A metadata annotation used to provide documentation to package:graphql_server
.
Constructors
- GraphQLDocumentation({String? description, String? deprecationReason, GraphDocumentationTypeProvider? type, Symbol? typeName})
-
const
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 → GraphDocumentationTypeProvider?
-
A constant callback that returns an explicit type for the annotated field, rather than having it be assumed
via
dart:mirrors
.final - typeName → Symbol?
-
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