OptionResource constructor

const OptionResource({
  1. int elementIndex = -1,
  2. String rule = "==",
  3. String threshold = "-999999",
  4. bool notify = false,
  5. bool alert = false,
  6. String text = "",
  7. MapSettings mapSettings = const MapSettings(),
  8. OptionRun run = const OptionRun(),
  9. RoundingSettings rounding = const RoundingSettings(),
})

Implementation

const OptionResource(
    {this.elementIndex = -1,
    this.rule = "==",
    this.threshold = "-999999",
    this.notify = false,
    this.alert = false,
    this.text = "",
    this.mapSettings = const MapSettings(),
    this.run = const OptionRun(),
    this.rounding = const RoundingSettings()});