lookupPoll abstract method

Future<MastodonResponse<Poll>> lookupPoll({
  1. required String pollId,
})

Returns a specific poll.

Parameters

  • pollId: The ID of the Poll in the database.

Endpoint Url

  • GET /api/v1/polls/:id HTTP/1.1

Authentication Methods

  • Anonymous
  • OAuth 2.0

Required Scopes

  • read:statuses

Reference

Implementation

Future<MastodonResponse<Poll>> lookupPoll({required String pollId});