DefaultResponseComparator class

Built-in default comparator comparing raw response payload bytes and text diffs.

Inheritance

Constructors

DefaultResponseComparator()
const

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

canCompare(Response actual, Response expected) → bool
Returns true if this comparator can handle comparing actual and expected.
override
compare(Response actual, Response expected) → Future<void>
Performs assertion/comparison between actual and expected.
override
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