createReportById abstract method
Report the specified user as a spam account to Twitter.
Parameters
-
userId
: The ID 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>> createReportById({
required String userId,
bool? performBlock,
});