SelectModel constructor

SelectModel(
  1. WidgetModel parent,
  2. String? id, {
  3. dynamic value,
  4. dynamic defaultValue,
  5. String? postbroker,
  6. dynamic bordercolor,
  7. dynamic matchtype,
})

Implementation

SelectModel(WidgetModel parent, String? id,
    { dynamic value,
      dynamic defaultValue,
      String? postbroker,
      dynamic bordercolor,
      dynamic matchtype,
      })
    : super(parent, id)
{
  // instantiate busy observable
  busy = false;

  if (bordercolor   != null)  this.bordercolor  = bordercolor;
  if (value         != null)  this.value         = value;
  if (defaultValue  != null)  this.defaultValue  = defaultValue;
  if (matchtype     != null)  this.matchtype     = matchtype;
}