isRoot property
bool
get
isRoot
True when this path selects the root, i.e. it was empty.
Implementation
bool get isRoot => segments.isEmpty;
True when this path selects the root, i.e. it was empty.
bool get isRoot => segments.isEmpty;