MessageTestEvent class
A MessageEvent indicates that a test emitted a message that should be displayed to the user. The messageType field indicates the precise type of this message. Different message types should be visually distinguishable.
Constructors
- MessageTestEvent({required int testID, required String messageType, required String message, required int time})
-
A MessageEvent indicates that a test emitted a message that
should be displayed to the user.
The messageType field indicates the precise type of this message.
Different message types should be visually distinguishable.
const
-
MessageTestEvent.fromJson(Map<
String, dynamic> json) -
A MessageEvent indicates that a test emitted a message that
should be displayed to the user.
The messageType field indicates the precise type of this message.
Different message types should be visually distinguishable.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The message that was printed.
final
- messageType → String
-
The type of message being printed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- testID → int
-
The ID of the test that printed a message.
final
- time → int
-
The time (in milliseconds) that has elapsed since the test runner started.
finalinherited
- type → String
-
The type of the event.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited