domSelectedIndex function
Read the selectedIndex of a
Implementation
int domSelectedIndex(Object? target) {
final JSObject? obj = target as JSObject?;
final JSAny? v = obj?.getProperty<JSAny?>('selectedIndex'.toJS);
return (v as JSNumber?)?.toDartInt ?? 0;
}