MatchesGoldenFile class
The matcher created by matchesGoldenFile. This class is enabled when the test is running on a VM using conditional import.
Constructors
- MatchesGoldenFile(Uri key, int? version)
-
Creates an instance of MatchesGoldenFile. Called by matchesGoldenFile.
const
- MatchesGoldenFile.forStringPath(String path, int? version)
- Creates an instance of MatchesGoldenFile. Called by matchesGoldenFile.
Properties
Methods
-
describe(
Description description) → Description -
Builds a textual description of the matcher.
override
-
describeMismatch(
dynamic item, Description mismatchDescription, Map matchState, bool verbose) → Description -
Builds a textual description of a specific mismatch.
inherited
-
matchAsync(
dynamic item) → Future< String?> -
Returns
null
if this matchesitem
, or a String description of the failure if it doesn't match. -
matches(
dynamic item, Map matchState) → bool -
Does the matching of the actual vs expected values.
inherited
-
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