Pref constructor

Pref(
  1. {String prefKey,
  2. dynamic defVal,
  3. bool enabled = true,
  4. bool visible = true,
  5. String dependancy,
  6. int type,
  7. Function function,
  8. Map<int, String> listItems,
  9. String label,
  10. String description,
  11. int format,
  12. int max,
  13. int min}
)

Implementation

Pref({
  this.prefKey,
  this.defVal,
  this.enabled = true,
  this.visible = true,
  this.dependancy,
  this.type,
  this.function,
  this.listItems,
  this.label,
  this.description,
  this.format,
  this.max,
  this.min
}) : assert(prefKey != null),
      assert(type != null);