select method
void
select()
Clears any selected items and then selects the current element.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationselectionitempattern-select.
Implementation
@pragma('vm:prefer-inline')
void select() {
final hr$ = HRESULT(_SelectFn(ptr));
if (hr$.isError) throw WindowsException(hr$);
}