OptionElement constructor

OptionElement({String data: '', String value: '', bool selected: false })

Implementation

factory OptionElement(
    {String data: '', String value: '', bool selected: false}) {
  return new OptionElement._(data, value, null, selected);
}