Event.testDone constructor
const
Event.testDone({
- required int time,
- @JsonKey(unknownEnumValue: TestResult.unknown) required TestResult result,
- @JsonKey(name: 'testID') required int testId,
- required bool skipped,
Factory constructor for testDone event
Implementation
const factory Event.testDone({
/// The time (in milliseconds) that has elapsed since the test runner started.
required int time,
/// The result of the test.
@JsonKey(unknownEnumValue: TestResult.unknown) required TestResult result,
/// The ID of the test that completed.
@JsonKey(name: 'testID') required int testId,
/// Whether the test's result should be hidden.
required bool hidden,
/// Whether the test (or some part of it) was skipped.
required bool skipped,
}) = _TestDone;