root property

RootStackRouter get root

Returns the root router as RootStackRouter

Implementation

RootStackRouter get root => (_parent?.root ?? this) as RootStackRouter;