Create a flag link in Twig. Php function I know, but howto in Twig?

I wanted to create a flag link in one of my template file. If in php, what I have to follow is as below:

flag_create_link('bookmarks', $node->nid);

What would be the right approach to do the same in D8 with twig?

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/3/feed