OptionElement 构造函数

OptionElement(
  1. {String data = '',
  2. String value = '',
  3. bool selected = false}
)

实现

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