fn property
FutureOr<void> Function(BenchContext)
get
fn
The test function which will be benchmarked.
Implementation
_i7.FutureOr<void> Function(_i4.BenchContext) get fn =>
(_i4.BenchContext p0) => _i3.callMethod(
_i3.getProperty(
this,
'fn',
),
r'call',
[
this,
p0,
],
);
set
fn
(FutureOr<void> value(BenchContext))
Implementation
set fn(_i7.FutureOr<void> Function(_i4.BenchContext) value) {
_i3.setProperty(
this,
'fn',
_i3.allowInterop((p0) => _i6.Promise.futureOr(() => value(p0))),
);
}