Flutter: Tags for post

How to get tags for any post in Flutter?

Hello, please see the sample below:

AmitySocialClient.newPostRepository()
    .getPosts().targetCommunity('abc').tags(['test','tester']).getPagingData()

Hi @SocialPlus_Support thanks for your response.

But this not what I am looking for. As per your code, I will get posts which is having tags “test” and “tester” from community “abc”.
But my requirement is different. I need to get tags for any post.

Means If I fetch any post from Amity, I need to know the tags attached to this post.

Please help.

If that’s the case, we would recommend you to utilise our api instead: Amity API you can check the returned tags in the post object.