Annotatable class abstract

An element or fragment that can have either annotations (metadata), a documentation comment, or both associated with it.

Implementers

Constructors

Annotatable()

Properties

documentationComment String?
The content of the documentation comment (including delimiters) for this element or fragment.
no setter
hasAlwaysThrows bool
Whether the receiver has an annotation of the form @alwaysThrows.
no setter
hasDeprecated bool
Whether the receiver has an annotation of the form @deprecated or @Deprecated('..').
no setter
hasDoNotStore bool
Whether the receiver has an annotation of the form @doNotStore.
no setter
hasDoNotSubmit bool
Whether the receiver has an annotation of the form @doNotSubmit.
no setter
hasFactory bool
Whether the receiver has an annotation of the form @factory.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasImmutable bool
Whether the receiver has an annotation of the form @immutable.
no setter
hasInternal bool
Whether the receiver has an annotation of the form @internal.
no setter
hasIsTest bool
Whether the receiver has an annotation of the form @isTest.
no setter
hasIsTestGroup bool
Whether the receiver has an annotation of the form @isTestGroup.
no setter
hasJS bool
Whether the receiver has an annotation of the form @JS(..).
no setter
hasLiteral bool
Whether the receiver has an annotation of the form @literal.
no setter
hasMustBeConst bool
Whether the receiver has an annotation of the form @mustBeConst.
no setter
hasMustBeOverridden bool
Whether the receiver has an annotation of the form @mustBeOverridden.
no setter
hasMustCallSuper bool
Whether the receiver has an annotation of the form @mustCallSuper.
no setter
hasNonVirtual bool
Whether the receiver has an annotation of the form @nonVirtual.
no setter
hasOptionalTypeArgs bool
Whether the receiver has an annotation of the form @optionalTypeArgs.
no setter
hasOverride bool
Whether the receiver has an annotation of the form @override.
no setter
hasProtected bool
Whether the receiver has an annotation of the form @protected.
no setter
hasRedeclare bool
Whether the receiver has an annotation of the form @redeclare.
no setter
hasReopen bool
Whether the receiver has an annotation of the form @reopen.
no setter
hasRequired bool
Whether the receiver has an annotation of the form @required.
no setter
hasSealed bool
Whether the receiver has an annotation of the form @sealed.
no setter
hasUseResult bool
Whether the receiver has an annotation of the form @useResult or @UseResult('..').
no setter
hasVisibleForOverriding bool
Whether the receiver has an annotation of the form @visibleForOverriding.
no setter
hasVisibleForTemplate bool
Whether the receiver has an annotation of the form @visibleForTemplate.
no setter
hasVisibleForTesting bool
Whether the receiver has an annotation of the form @visibleForTesting.
no setter
hasVisibleOutsideTemplate bool
Whether the receiver has an annotation of the form @visibleOutsideTemplate.
no setter
metadata List<ElementAnnotation>
The metadata associated with the element or fragment.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sinceSdkVersion → Version?
The version where this SDK API was added.
no setter

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