DiscordIntegration constructor

DiscordIntegration({
  1. required DiscordSnowflake id,
  2. required String name,
  3. required String type,
  4. bool? enabled,
  5. bool? syncing,
  6. DiscordSnowflake? roleId,
  7. bool? enableEmoticons,
  8. int? expireBehavior,
  9. int? expireGracePeriod,
  10. DiscordUser? user,
  11. required DiscordIntegrationAccount account,
  12. String? syncedAt,
  13. int? subscriberCount,
  14. bool? revoked,
  15. DiscordIntegrationApplication? application,
})

Implementation

DiscordIntegration({
  required this.id,
  required this.name,
  required this.type,
  this.enabled,
  this.syncing,
  this.roleId,
  this.enableEmoticons,
  this.expireBehavior,
  this.expireGracePeriod,
  this.user,
  required this.account,
  this.syncedAt,
  this.subscriberCount,
  this.revoked,
  this.application,
});