avatarUrl abstract method
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});