PartialSalvager class

Salvages partial results from a cancelled mission into the mission record with a cancelled_partial outcome (FR-005).

Even an empty salvage is still recorded as cancelled_partial (per the spec edge case: "What happens when a cancelled mission has zero partial results? — The outcome is still recorded as cancelled_partial (an empty salvage is still a salvage).").

Constructors

PartialSalvager()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
salvage(Mission mission) → OutcomeCancelledPartial
Salvages mission's accumulated partials into a cancelled_partial outcome. Mutates mission's status and outcome fields.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited