Event.done constructor

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

Factory constructor for done event

Implementation

const factory Event.done({
  /// The time (in milliseconds) that has elapsed since the test runner started.
  required int time,

  /// Whether all tests succeeded (or were skipped).
  ///
  /// Will be `null` if the test runner was close before all tests completed
  /// running.
  bool? success,
}) = _Done;