retweeters method
- required String id,
- int? count,
- int? cursor,
- TransformResponse<PaginatedIds> transform = defaultPaginatedIdsTransform,
Returns a collection of up to 100 user IDs belonging to users who have
retweeted the Tweet specified by the id parameter.
This method offers similar data to retweets.
id: The numerical ID of the desired status.
count: Specifies the number of records to retrieve. Must be less than or
equal to 100.
cursor: Causes the results to be broken into pages. If no cursor is
provided, a value of -1 will be assumed, which is the first "page."
includeExtEditControl: The includeExtEditControl node will not be included when set to
false. See https://developer.twitter.com/en/docs/twitter-api/v1/edit-tweets
The response from the API will include a previousCursor and nextCursor
to allow paging back and forth. See Using cursors to navigate collections
for more information.
transform: Can be used to parse the request. By default, the response is
parsed in an isolate.
Implementation
Future<PaginatedIds> retweeters({
  required String id,
  int? count,
  int? cursor,
  TransformResponse<PaginatedIds> transform = defaultPaginatedIdsTransform,
}) async {
  final params = <String, String>{}
    ..addParameter('id', id)
    ..addParameter('count', count)
    ..addParameter('cursor', cursor);
  return client
      .get(Uri.https(
          'api.twitter.com', '1.1/statuses/retweeters/ids.json', params))
      .then(transform);
}