RecoverUnsyncedChangesHandler class Sync
A client reset strategy that attempts to automatically recover any unsynchronized changes.
If you set RecoverUnsyncedChangesHandler callback as clientResetHandler argument of Configuration.flexibleSync,
Realm will compare the local Realm with the Realm on the server and automatically transfer
any changes from the local Realm that makes sense to the Realm provided by the server.
- Inheritance
-
- Object
- ClientResetHandler
- RecoverUnsyncedChangesHandler
Constructors
- RecoverUnsyncedChangesHandler({BeforeResetCallback? onBeforeReset, AfterResetCallback? onAfterReset, ClientResetCallback? onManualResetFallback})
-
Creates an instance of
RecoverUnsyncedChangesHandler.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onAfterReset → AfterResetCallback?
-
The callback that will be executed just after the client reset happens.
no setter
- onBeforeReset → BeforeResetCallback?
-
The callback that will be executed just before the client reset happens.
no setter
- onManualReset → ClientResetCallback?
-
The callback that handles the ClientResetError.
finalinherited
- 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