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

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
syncing bool
getter/setter pair

Methods

callSyncSecondary(SyncOperation _syncOperation, {AtKey? atKey, String? notification, OperationEnum? operation, bool isDedicated = MixedConstants.isDedicated}) Future<void>
Called to sync with secondary _syncOperation either sync to secondary or notifyAll atKey, notification, operation needed for notifyAll
completePrioritySync(String _response, {Function? afterSync}) → void
Called to sync in priority afterSync called after sync is complete _response, passed as a parameter to afterSync
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