isAssignableTo method

bool isAssignableTo (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);