findSMI<T> method
Find an input of specific concrete input type, with a given name.
For easier to use methods, see getBoolInput, getTriggerInput, getNumberInput.
Implementation
T? findSMI<T>(String name) {
for (final input in _inputs) {
if (input is T && input.name == name) {
return input as T;
}
}
return null;
}