NodeValidator constructor
- UriPolicy? uriPolicy,
Construct a default NodeValidator which only accepts whitelisted HTML5 elements and attributes.
If a uriPolicy is not specified then the default uriPolicy will be used.
Implementation
factory NodeValidator({UriPolicy? uriPolicy}) =>
new _Html5NodeValidator(uriPolicy: uriPolicy);