isAtRoot property

bool get isAtRoot

True when at the root (no drill-down has occurred).

Implementation

bool get isAtRoot => stack.length <= 1;