DartTypeExtension extension
- on
-
- DartType
Properties
- isEnum → bool
-
no setter
- isLikeDynamic → bool
-
Returns
true
ifthis
isdynamic
orObject?
.no setter - isNullableType → bool
-
no setter
-
typeImplementations
→ Iterable<
DartType> -
Returns all of the
DartType
types thatthis
implements, mixes-in, and extends, starting withthis
itself.no setter
Methods
-
isAssignableTo(
DartType other) → bool -
typeArgumentsOf(
TypeChecker checker) → List< DartType> ? -
If
this
is the Type or implements the Type represented bychecker
, returns the generic arguments to thechecker
Type if there are any.