Response class

An object sent from e2e back to the Flutter Driver in response to request_data command.

Constructors

Response.allTestsPassed()
Constructor to use for positive response.
Response.someTestsFailed(List<Failure> _failureDetails)
Constructor for failure response.

Properties

allTestsPassed bool
Whether the test ran successfully or not.
read-only
failureDetails List<Failure>
Failure details as a list.
read-only
formattedFailureDetails String
If the result are failures get the formatted details.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

formatFailures(List<Failure> failureDetails) String
Method for formating the test failures' details.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() String
Serializes this message to a JSON map.
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

fromJson(String source) Response
Deserializes the result from JSON.