createPrototype static method
AFWorkflowStatePrototype
createPrototype({
- required AFWorkflowStateTests tests,
- required AFPrototypeID id,
- required AFBaseTestID stateTestId,
- required AFID? actualDisplayId,
Implementation
static AFWorkflowStatePrototype createPrototype({
required AFWorkflowStateTests tests,
required AFPrototypeID id,
required AFBaseTestID stateTestId,
required AFID? actualDisplayId,
}) {
final instance = AFWorkflowStatePrototype(
id: id,
actualDisplayId: actualDisplayId,
stateTestId: stateTestId as AFStateTestID,
body: AFWorkflowStateTestPrototype.create(tests, id)
);
return instance;
}