Is<T> class

Creates a new function that checks if the annotation is type T. For example:

// Get all the annotations from the class of `object` where they are type `SomeAnnotation`
reflect(object).annotations.where(new Is<SomeAnnotation>());

Constructors

Is()

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

call(Annotation annotation) bool
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