avatarUrl abstract method

String avatarUrl({
  1. String format = 'webp',
  2. int? size,
})

The user's avatar, represented as URL. In case if user does not have avatar, default discord avatar will be returned; format, size and animated will no longer affectng this URL. If animated is set as true, if available, the url will be a gif, otherwise the format or fallback to "webp".

Implementation

String avatarUrl({String format = 'webp', int? size});