ErrorTestEvent constructor

const ErrorTestEvent({
  1. required int testID,
  2. required String error,
  3. required String stackTrace,
  4. required bool isFailure,
  5. required int time,
})

An ErrorTestEvent indicates that a test encountered an uncaught error. Note that this may happen even after the test has completed, in which case it should be considered to have failed.

Implementation

const ErrorTestEvent({
  required this.testID,
  required this.error,
  required this.stackTrace,
  required this.isFailure,
  required super.time,
}) : super(type: 'error');