isEmpty property

bool get isEmpty

Whether this path is empty, eg "/"

Implementation

bool get isEmpty => _segments?.isEmpty == true;