ready property

Future<void> get ready

Waits until the offline queue has been loaded from disk. Call this before the first flushQueue() to avoid racing.

Implementation

Future<void> get ready => _loadCompleter?.future ?? Future.value();