Add retry_queue_test.dart

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-06-14 16:56:36 +05:30
parent e2529231fd
commit 2a58ca535d
3 changed files with 98 additions and 0 deletions
@@ -177,6 +177,9 @@ class RetryQueue {
}
}
/// Whether our [_messageQueue] has messages or not
bool get hasMessages => _messageQueue.isNotEmpty;
/// Call this method to dispose this object
void dispose() {
_messageQueue.clear();