ClassAnnotation class
A ClassAnnotation
can be used as the base class for type annotations
that will get its apply
method executed by the infrastructure.
Constructors
- ClassAnnotation.new()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
apply(
TypeDescriptor type) → void -
callback executed by the type infrastructure
type
the TypeDescriptor of the annotated class -
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