selectedIndex property

num selectedIndex

Sets or retrieves the index of the selected option in a select object.

MDN Reference

Implementation

_i2.num get selectedIndex => _i4.getProperty(
      this,
      'selectedIndex',
    );
void selectedIndex=(num value)

Implementation

set selectedIndex(_i2.num value) {
  _i4.setProperty(
    this,
    'selectedIndex',
    value,
  );
}