FailedAssertionInfo<T> class
Holds the info about an assertion failure on a specific field.
Constructors
- FailedAssertionInfo.new(String subject, T value, T expected)
- Creates an instance of FailedAssertionInfo.
-
FailedAssertionInfo.fromPair(String fieldName, ValuePair<
T> pair) - Creates an instance of FailedAssertionInfo from a ValuePair.
Properties
- expected → T
-
Returns the expected value.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → String
-
Subject info.
final
- value → T
-
Returns the given value.
no setter
- value1 → T
-
First value.
finalinherited
- value2 → T
-
Second value.
finalinherited
Methods
-
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