HandlerParameter<T> class

Descriptor for parameters of handler methods.

Constructors

HandlerParameter(String name, bool nullable, List<HandlerAnnotation> annotations)
const

Properties

annotations List<HandlerAnnotation>
final
deriveFuture Type
no setterinherited
deriveFutureOr Type
no setterinherited
deriveIterable Type
no setterinherited
deriveList Type
no setterinherited
deriveSet Type
no setterinherited
deriveStream Type
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isRequired bool
no setter
name String
final
nullable bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeArgument Type
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
castIterable(Iterable<T> iterable) Iterable<T>
inherited
castList(List list) List<T>
inherited
castSet(Set set) Set<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