callNoConstructors method

MemberPredicateBuilder callNoConstructors(
  1. Iterable<String> typeNames
)

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(', ')}',
    ),
  );
}