isSubclassOf method Null safety
- 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.
// // 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);