BackendExpectations constructor

const BackendExpectations({
  1. bool localeAwarePlurals = true,
  2. bool operandAwarePlurals = true,
  3. bool signDisplay = true,
  4. bool roundingMode = true,
  5. bool roundingIncrement = true,
  6. bool trailingZeroDisplay = true,
  7. bool numberingSystem = true,
  8. bool groupingStrategies = true,
  9. bool compactNotation = true,
  10. bool scientificNotation = false,
  11. bool accountingCurrencySign = false,
  12. bool hourCycle = true,
  13. bool calendar = true,
  14. bool timeZone = true,
  15. bool ecmaDefaultDigits = true,
  16. bool recordsUnsupportedOptionErrors = false,
})

Declares one backend's honest capability set; every flag defaults to the capable side so a new check is opt-out.

Implementation

const BackendExpectations({
  this.localeAwarePlurals = true,
  this.operandAwarePlurals = true,
  this.signDisplay = true,
  this.roundingMode = true,
  this.roundingIncrement = true,
  this.trailingZeroDisplay = true,
  this.numberingSystem = true,
  this.groupingStrategies = true,
  this.compactNotation = true,
  this.scientificNotation = false,
  this.accountingCurrencySign = false,
  this.hourCycle = true,
  this.calendar = true,
  this.timeZone = true,
  this.ecmaDefaultDigits = true,
  this.recordsUnsupportedOptionErrors = false,
});