setDeepLink method
Sets the deep-link route path that
- will be used as initialPath
- can be used in BeamGuard.beamToNamed to redirect properly after some auth flows that need to be executed, during which the initialPath information is lost.
Once a BeamGuard uses the deep-link, it will be reset to null.
Implementation
void setDeepLink(String? deepLink) => _deepLink = deepLink;