BenchContext constructor

BenchContext({
  1. String? name,
  2. String? origin,
  3. void start()?,
  4. void end()?,
})

Implementation

factory BenchContext({
  _i2.String? name,
  _i2.String? origin,
  void Function()? start,
  void Function()? end,
}) =>
    BenchContext._(
      name: name,
      origin: origin,
      start: start == null ? null : _i3.allowInterop(start),
      end: end == null ? null : _i3.allowInterop(end),
    );