createReportByName abstract method

Future<TwitterResponse<UserData, void>> createReportByName({
  1. required String username,
  2. bool? performBlock,
})

Report the specified user as a spam account to Twitter.

Parameters

  • username: The username of the user to report as a spammer.

  • performBlock: Whether the account should be blocked by the authenticated user, as well as being reported for spam.

Endpoint Url

Authentication Methods

  • OAuth 1.0a

Reference

Implementation

Future<TwitterResponse<UserData, void>> createReportByName({
  required String username,
  bool? performBlock,
});