avatarUrl abstract method
override
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
.
Implementation
@override
String avatarUrl({String format = 'webp', int? size, bool animated = true});