hasSubTree property

bool get hasSubTree

Whether is route is a parent route

Implementation

bool get hasSubTree => children != null && children!.isNotEmpty;