link method

void link(
  1. ChatDirectLinkSlug slug
)

Changes router location to the Routes.chatDirectLink page.

Implementation

void link(ChatDirectLinkSlug slug) => go('${Routes.chatDirectLink}/$slug');