ReconcileResult class
The outcome of ZeroSettle.reconcile. Mirrors the native ReconcileResult.
Constructors
- ReconcileResult({required int reconciliationId, required String fromUserId, required String intoUserId, required int movedTransactions, required int movedEntitlements, bool switchedToAccount = false})
-
const
- ReconcileResult.fromMap(Map map)
-
factory
Properties
- fromUserId → String
-
The id whose purchases were moved (typically the guest id).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- intoUserId → String
-
The id that received them (typically the account id).
final
- movedEntitlements → int
-
How many entitlements moved.
final
- movedTransactions → int
-
How many transactions moved.
final
- reconciliationId → int
-
Identifier of the reconciliation record.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- switchedToAccount → bool
-
True only when the SDK adopted intoUserId as the current user. When
false and you want to continue as the account, call
identify(Identity.user(id: result.intoUserId))(the move has happened).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override