findById method

Implementation

AFWorkflowStatePrototype? findById(AFBaseTestID id) {
  for(final test in stateTests) {
    if(test.id == id || test.actualDisplayId == id) {
      return test;
    }
  }
  return null;
}