disableRoot method

void disableRoot()

Disables root value. So stack can pop all values.

Implementation

void disableRoot() => _root = false;