OfflineQueueManager class

Offline queue manager

Constructors

OfflineQueueManager({StorageBackend? storage})

Properties

failedCount int
Get failed actions count
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Check if queue is empty
no setter
isOnline Rx<bool>
final
isSyncing Rx<bool>
final
queueSize int
Get queue size
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearFailedActions() → void
Clear failed actions
clearQueue() Future<void>
Clear queue
dispose() → void
Dispose
enqueue(OfflineAction action) Future<void>
Enqueue action
getActionStatus(String actionId) OfflineActionStatus?
Get action status
getFailedActions() List<OfflineAction>
Get failed actions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retryFailedAction(String actionId) Future<void>
Retry failed action
syncWhenOnline() Future<void>
Sync queue when online
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited