hasNoElement function
Matches if rendered HTML does NOT contain any element matching selector.
expect(html, hasNoElement('.error'));
expect(html, hasNoElement('div.warning'));
Implementation
Matcher hasNoElement(String selector) => _HasNoElementMatcher(selector);