ExpectedEnvelope class final
The envelope block an initialState, lifecycle or transcript case
records: every field optional, because a case asserts only what it is about.
Constructors
-
ExpectedEnvelope({Map<
String, dynamic> ? state, List<int> ? pending, List? outcome, bool assertsOutcome = false}) -
const
Properties
- assertsOutcome → bool
-
Whether the fixture wrote an
outcomekey at all. A written null asserts the game did not end; an absent one asserts nothing.final - hashCode → int
-
The hash code for this object.
no setterinherited
- outcome → List?
-
The recorded outcome. Null means either "unchecked" or "assert the game is
ongoing", which assertsOutcome distinguishes.
final
-
pending
→ List<
int> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Map<
String, dynamic> ? -
final
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