OfflineQueue class

Constructors

OfflineQueue(OfflineSecureAdapter adapter, {OfflineLimits limits = const OfflineLimits(), int nowMillis()?})

Properties

adapter → OfflineSecureAdapter
final
hashCode → int
The hash code for this object.
no setterinherited
limits → OfflineLimits
final
nowMillis → int Function()
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String id) → Future<void>
deleteCollection(String id) → Future<int>
enqueue(String collectionId, Map<String, dynamic> submission) → Future<String>
flush({required Future<String?> credential(String), required Future<OfflineAttempt> send(String, String, Map<String, dynamic>), bool cancelled()?}) → Future<OfflineFlushReport>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeQuarantined() → Future<int>
snapshot() → Future<OfflineStatus>
toString() → String
A string representation of this object.
inherited

Operators

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