fn property
FutureOr<void> Function(TestContext)
get
fn
The test function that will be tested when this step is executed. The function can take an argument which will provide information about the current step's context.
Implementation
_i7.FutureOr<void> Function(_i4.TestContext) get fn =>
(_i4.TestContext p0) => _i3.callMethod(
_i3.getProperty(
this,
'fn',
),
r'call',
[
this,
p0,
],
);
set
fn
(FutureOr<void> value(TestContext))
Implementation
set fn(_i7.FutureOr<void> Function(_i4.TestContext) value) {
_i3.setProperty(
this,
'fn',
_i3.allowInterop((p0) => _i6.Promise.futureOr(() => value(p0))),
);
}