updateProfile abstract method

Future<TwitterResponse<UserData, void>> updateProfile({
  1. String? name,
  2. String? description,
  3. String? url,
  4. String? location,
})

Sets some values that users are able to set under the "Account" tab of their settings page.

Only the parameters specified will be updated.

Parameters

  • name: Full name associated with the profile.

  • description: A description of the user owning the account.

  • url: URL associated with the profile. Will be prepended with http:// if not present.

  • location: The city or country describing where the user of the account is located. The contents are not normalized or geocoded in any way.

Endpoint Url

Authentication Methods

  • OAuth 1.0a

Reference

Implementation

Future<TwitterResponse<UserData, void>> updateProfile({
  String? name,
  String? description,
  String? url,
  String? location,
});