nameEndsWith<T extends DartElement> static method
Implementation
static Validation<T> nameEndsWith<T extends DartElement>(String str) {
return _createValidation(
(el) => el.name.endsWith(str),
'have name ending with "$str"',
);
}