init method
Initialize the queue and restore from storage if available
Implementation
Future<void> init(ZenStorage? storage) async {
_storage = storage;
if (_storage != null) {
await _restore();
}
}
Initialize the queue and restore from storage if available
Future<void> init(ZenStorage? storage) async {
_storage = storage;
if (_storage != null) {
await _restore();
}
}