initialiseBoolInputs method

dynamic initialiseBoolInputs(
  1. dynamic controller
)

Implementation

initialiseBoolInputs(var controller) {
    for (var getValue in boolInputList!) {
      var values;
      //if input value is smibool type then this value will add to smibool list otherwise value added to smitrigger list
      if (controller.findInput<bool>(getValue) is SMIBool) {
        values = controller.findInput<bool>(getValue) as SMIBool;
        boolInputValues![getValue] = values;
      } else {
        values = controller.findInput<bool>(getValue) as SMITrigger;
        boolInputValues1![getValue] = values;
      }
    }
}