updateAvatarImage abstract method

Future<MastodonResponse<Account>> updateAvatarImage({
  1. required File file,
})

Update the user’s avatar image.

Parameters

  • file: File image to update avatar.

Endpoint Url

  • PATCH /api/v1/accounts/update_credentials HTTP/1.1

Authentication Methods

  • OAuth 2.0

Required Scopes

  • read:accounts

Reference

Implementation

Future<MastodonResponse<Account>> updateAvatarImage({
  required File file,
});