callNoConstructors method
Selects executable members that call none of the constructors in typeNames.
Implementation
MemberPredicateBuilder callNoConstructors(Iterable<String> typeNames) {
final typeList = typeNames.toNonEmptyList('typeNames');
return satisfy(
HeimdallPredicate.noneOf(
typeList.map(_memberMatchesCallConstructor),
description: 'call no constructors ${typeList.join(', ')}',
),
);
}