code method

T code(
  1. CodeRun codeRun
)

Attaches a code block that executes within a pure Dart BddContext.

The codeRun function receives a BddContext which provides access to values defined in Example tables.

Implementation

T code(CodeRun codeRun) {
  return addCode(codeRun);
}