popAll method

void popAll()

Pop back to root, clearing the entire drill-down history.

Implementation

void popAll() {
  if (_disposed || value.stack.length <= 1) return;
  value = DrillDownState(stack: [value.stack.first]);
}