/ SDKs / Flutter
SDKs
Chat SDKs Flutter v3
Chat SDKs Flutter
Chat SDKs
Flutter
Version 3
Sendbird Chat SDK v3 for Flutter is no longer supported as a new version is released. Check out our latest Chat SDK v4

Close a poll

Copy link

You can close a poll by specifying the pollId in the closePoll() method.

// Close an existing poll.
Poll result = await channel.closePoll(pollId: result.id);