root property

Returns the root router as RootStackRouter

Implementation

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