roleIcon abstract method

String roleIcon(
  1. Snowflake roleId,
  2. String roleIconHash,
  3. {String format = 'webp',
  4. int? size}
)

Returns URL to /role-icons/[roleIconHash]. With given format and size.

Implementation

String roleIcon(Snowflake roleId, String roleIconHash, {String format = 'webp', int? size});