avatar abstract method

String avatar(
  1. Snowflake id,
  2. String avatarHash,
  3. {String format = 'webp',
  4. int? size,
  5. bool animated = true}
)

Returns URL to /avatars/[avatarHash]. With given format, size and whether or not returns the animated version (if applicable) of this URL with animated.

Implementation

String avatar(Snowflake id, String avatarHash, {String format = 'webp', int? size, bool animated = true});