addPrototype method

AFWorkflowStateTestPrototype addPrototype({
  1. required AFPrototypeID id,
  2. required AFBaseTestID stateTestId,
  3. AFID? actualDisplayId,
})

Implementation

AFWorkflowStateTestPrototype addPrototype({
  required AFPrototypeID id,
  required AFBaseTestID stateTestId,
  AFID? actualDisplayId
}) {
  final instance = createPrototype(tests: this, id: id, stateTestId: stateTestId, actualDisplayId: actualDisplayId);
  stateTests.add(instance);
  return instance.body;
}