ErrorEvent class

Inheritance

Constructors

ErrorEvent.new({required int testID, required String error, required String stackTrace, required bool isFailure})
ErrorEvent.fromJson(Map<String, dynamic> json)
Factory constructor for creating an ErrorEvent instance from a JSON map.
factory

Properties

error String
The result of calling toString() on the error object.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isFailure bool
Whether the error was a TestFailure.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace String
The error's stack trace, in the stack_trace package format.
getter/setter pair
testID int
The ID of the test that experienced the error.
getter/setter pair
type EventType
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Method to convert ErrorEvent instance into a JSON map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited