isSubtypeOf abstract method
Return true
if the leftType
is a subtype of the rightType
.
For the Dart 2.0 type system, the rules governing the subtype relationship are given in the Dart Language Specification, section 19.4 Subtypes.
Other type systems may define this operation differently.
Implementation
bool isSubtypeOf(DartType leftType, DartType rightType);