RetainedAnnotationContainer class
Standard implementation of const RetainedAnnotationHolder.
- Inheritance
-
- Object
- RetainedAnnotationHolder
- RetainedAnnotationContainer
Constructors
-
RetainedAnnotationContainer.new(List<
RetainedAnnotation> annotations) -
const
Properties
-
annotations
→ List<
RetainedAnnotation> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
annotationsOf<
T> () → Iterable< T> -
Returns all annotations assignable to type
T
.inherited -
annotationsOfExact<
T> () → Iterable< T> -
Returns all annotations with the exact type of
T
.inherited -
firstAnnotationOf<
T> () → T? -
Gets the first annotation of type
T
or returns null otherwise.inherited -
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