TestMessage class
Message associated with the test state. Can be linked to a specific source range -- useful for assertion failures, for example.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- TestMessage(Object message)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
diff(
Object message, String expected, String actual) → TestMessage - Creates a new TestMessage that will present as a diff in the editor.