Webhook constructor

Webhook({
  1. required Snowflake id,
  2. required WebhookType type,
  3. required Snowflake? guildId,
  4. required Snowflake? channelId,
  5. required String? label,
  6. required String? avatar,
  7. required String token,
  8. required Snowflake? applicationId,
  9. required dynamic sourceGuild,
  10. required dynamic sourceChannel,
  11. required String? url,
})

Implementation

Webhook({
  required this.id,
  required this.type,
  required this.guildId,
  required this.channelId,
  required this.label,
  required this.avatar,
  required this.token,
  required this.applicationId,
  required this.sourceGuild,
  required this.sourceChannel,
  required this.url,
});