linkLink method
- DirectLinkSlug slug
Creates a new DirectLink with the specified DirectLinkSlug and deletes the current active DirectLink of the authenticated MyUser (if any).
Implementation
Future<void> linkLink(DirectLinkSlug slug) async {
await _linkService.updateLink(slug, _authService.userId);
}