TestEvent.done constructor

TestEvent.done({
  1. required bool? success,
  2. required int time,
})

An event indicating the result of the entire test run.

This will be the final event emitted by the reporter.

Implementation

factory TestEvent.done({
  /// Whether all tests succeeded (or were skipped).
  ///
  /// Will be `null` if the test runner was close before all tests completed
  /// running.
  required bool? success,
  required int time,
}) = TestEventDone;