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

Source

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