extendsClass<C> static method
Implementation
static Validation<DartClass> extendsClass<C>() {
final type = DartType.from<C>();
return _createValidation(
(el) =>
_matchType(el, type) ||
el.superClass != null && _matchType(el.superClass!, type),
'extend ${C.toString()}',
);
}