isSubclassOf method Null safety

bool isSubclassOf(
  1. ClassMirror other
)

Returns whether the class denoted by the receiver is a subclass of the class denoted by the argument.

Note that the subclass relationship is reflexive.

Required capabilities: isSubclassOf requires a TypeRelationsCapability, and it requires that the chain of subclasses from this to other is covered.

Implementation

//
// Possible ARG: Type.
// Input from Gilad on [TypeMirror#isSubtypeOf] is also relevant for this
// case.
///
/// Required capabilities: [isSubclassOf] requires a
/// [TypeRelationsCapability], and it requires that the chain of subclasses
/// from [this] to [other] is covered.
bool isSubclassOf(ClassMirror other);