initWithValue method
Implementation
void initWithValue(List<RouteQueueEntry>? value) {
if (value != null && value.isNotEmpty) {
forEach((current) {
current
.._queue = null
.._pre = null
.._next = null;
current._complete();
return false;
});
final root = value.first;
final current = value.last;
assert(root._queue == this && current._queue == this);
_root = root;
_current = current;
_length = value.length;
refresh();
}
}