deepCopy method

ListQueue<Counter> deepCopy()

Implementation

ListQueue<Counter> deepCopy() {
  return ListQueue<Counter>.from(map((counter) {
    return Counter(counter.name, counter.value);
  }));
}