parseWebhookAuthor method
Parse a WebhookAuthor from raw
.
Implementation
WebhookAuthor parseWebhookAuthor(Map<String, Object?> raw) {
return WebhookAuthor(
id: Snowflake.parse(raw['id']!),
manager: this,
avatarHash: raw['avatar'] as String?,
username: raw['username'] as String,
);
}