MessageExtraction constructor

MessageExtraction({
  1. OnMessage onMessage = print,
  2. bool suppressWarnings = false,
  3. bool allowEmbeddedPluralsAndGenders = true,
  4. bool examplesRequired = false,
  5. bool descriptionRequired = false,
  6. bool warningsAreErrors = false,
  7. Set<String> ignoredErrorCodes = const <String>{},
})

Implementation

MessageExtraction({
  this.onMessage = print,
  this.suppressWarnings = false,
  this.allowEmbeddedPluralsAndGenders = true,
  this.examplesRequired = false,
  this.descriptionRequired = false,
  this.warningsAreErrors = false,
  this.ignoredErrorCodes = const <String>{},
}) : warnings = [];