toInvalidResult method
Convenient method to convert the expectation to an invalid result.
Implementation
Result toInvalidResult() => Result.invalid(value, expectation: this);
Convenient method to convert the expectation to an invalid result.
Result toInvalidResult() => Result.invalid(value, expectation: this);