SyncSecondary class
A class to manage all the server calls. SyncSecondary makes sure that server calls are not interfering with each other.
callSyncSecondary syncs to secondary or calls notifyAll based on _syncOperation.
Constructors
- SyncSecondary()
-
factory
Properties
Methods
-
callSyncSecondary(
SyncOperation _syncOperation, {AtKey? atKey, String? notification, OperationEnum? operation, bool isDedicated = MixedConstants.isDedicated}) → Future< void> -
Called to sync with secondary
_syncOperationeither sync to secondary or notifyAllatKey,notification,operationneeded for notifyAll -
completePrioritySync(
String _response, {Function? afterSync}) → void -
Called to sync in priority
afterSynccalled after sync is complete_response, passed as a parameter toafterSync -
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