ContentValidator constructor

ContentValidator({
  1. Logger? logger,
  2. int minContentLength = 1,
  3. int maxContentLength = 100000,
  4. bool cleanHtmlTags = true,
  5. bool normalizeWhitespace = true,
  6. bool trimContent = true,
})

Creates a new ContentValidator with the given parameters

Implementation

ContentValidator({
  this.logger,
  this.minContentLength = 1,
  this.maxContentLength = 100000,
  this.cleanHtmlTags = true,
  this.normalizeWhitespace = true,
  this.trimContent = true,
});