Event.error constructor
const
Event.error({})
Factory constructor for error event
Implementation
const factory Event.error({
/// The time (in milliseconds) that has elapsed since the test runner started.
required int time,
/// The ID of the test that experienced the error.
@JsonKey(name: 'testID') required int testId,
/// The result of calling toString() on the error object.
required String error,
/// The error's stack trace, in the [stack_trace package](https://pub.dev/packages/stack_trace) format.
@JsonKey(name: 'stackTrace') required String stacktrace,
/// Whether the error was a `TestFailure`.
required bool isFailure,
}) = _Error;