DefaultWebGoldenComparator class Null safety
An unsupported WebGoldenComparator that exists for API compatibility.
- Inheritance
-
- Object
- WebGoldenComparator
- DefaultWebGoldenComparator
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
compare(
double width, double height, Uri golden) → Future< bool> -
Compares the rendered pixels of size
width
xheight
that is being rendered on the top left of the screen against the golden file identified bygolden
.override -
getTestUri(
Uri key, int? version) → Uri -
Returns a new golden file Uri to incorporate any
version
number with thekey
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
double width, double height, Uri golden) → Future< void> -
Updates the golden file identified by
golden
with rendered pixels ofwidth
xheight
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited