isAssignableTo method

bool isAssignableTo (
  1. DartType type
)

Return true if this type is assignable to the given type. A type T may be assigned to a type S, written TS, iff either T <: S or S <: T.

Implementation

bool isAssignableTo(DartType type);