TypeCapture<T> class abstract

Abstract base class for using a generic type capture.

Implementers

Constructors

TypeCapture.new()
const

Properties

deriveFuture Type
no setter
deriveFutureOr Type
no setter
deriveIterable Type
no setter
deriveList Type
no setter
deriveSet Type
no setter
deriveStream Type
no setter
hashCode int
The hash code for this object.
no setterinherited
isNullable bool
no setter
nullable TypeCapture
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeArgument Type
no setter

Methods

castIterable(Iterable<T> iterable) Iterable<T>
castList(List list) List<T>
castSet(Set set) Set<T>
consumeType<RETURN>(RETURN func<_>()) → RETURN
consumeTypeArg<RETURN, ARG>(RETURN func<_>(ARG), ARG arg) → RETURN
isAssignable(dynamic object) 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