getSelected method

bool getSelected()

Returns the selected of the matched Semantics via Widget.toDiagnosticsNode

Implementation

bool getSelected() {
  return getDiagnosticProp<bool>('selected');
}