fullPath property

String get fullPath

The full path of this route, including all parent paths.

Example:

"/account" (SafeNestedRoute)
  + "/profile" (SafeRoute)
= "/account/profile"

Implementation

String get fullPath => p.joinAll([_parent?.fullPath ?? '/', name]);