DartTypeExtension extension

on
  • DartType

Properties

isEnum bool
no setter
isLikeDynamic bool
Returns true if this is dynamic or Object?.
no setter
isNullableType bool
no setter
typeImplementations Iterable<DartType>
Returns all of the DartType types that this implements, mixes-in, and extends, starting with this itself.
no setter

Methods

isAssignableTo(DartType other) bool
typeArgumentsOf(TypeChecker checker) List<DartType>?
If this is the Type or implements the Type represented by checker, returns the generic arguments to the checker Type if there are any.