Question: I'd like to find all the radio buttons on a form and leave the other input types alone. My code looks like this:

```dart
form.queryAll("select, input").forEach((Element el) {
  if (el is RadioButtonInputElement) {
     print ('got radio button');
  } else {
     print ('got some other input type');
  }
}

```

This results in all input types other than `select` being identified as radio buttons. In fact, if I look at `el` in the `then` branch ("got radio button"), it is always reported as `InputElement`.

Answer: 
You could also write a query selector to only return radio buttons.

```dart
List<RadioButtonInputElement> list = element.querySelectorAll("input[type='radio']");

```
I ended up changing the test:

```dart
if ( el.type == 'radio' ) {
  print ('got radio button');
}

```