RestoreResult class sealed
Canonical RestoreResult — 2-case sealed for restore operations.
Spec: PUR-080, PUR-081, PUR-082 (.lovable/purchase-conformance-spec.md) Standard: mem://architecture/purchase-authoritative-standard
Mirrored byte-identically across iOS/Android/RN.
- RestoredItems : restore succeeded;
itemsMAY be empty (= nothing to restore, PUR-080). Callers MUST NOT treat empty as failure. - RestoreFailed : global failure (network, store sync threw). Per-transaction failures live in RestoredItem.status, never here.
- Implementers
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited