isSubtypeOf method

  1. @override
bool isSubtypeOf(
  1. ElementType t
)
override

The instantiated to bounds type of this type is a subtype of t.

Implementation

@override
bool isSubtypeOf(ElementType t) =>
    library.typeSystem.isSubtypeOf(instantiatedType, t.instantiatedType);