icon abstract method
Returns URL tp /icons/[iconHash]
.
With given format
, size
and whether or not returns the animated version (if applicable) of this URL with animated
.
Implementation
String icon(Snowflake id, String iconHash, {String format = 'webp', int? size, bool animated = true});