Integration constructor

Integration({
  1. required String id,
  2. required String name,
  3. required IntegrationType type,
  4. required bool enabled,
  5. bool? syncing,
  6. String? roleId,
  7. bool? enableEmoticons,
  8. IntegrationExpireBehavior? expireBehavior,
  9. int? expireGracePeriod,
  10. User? user,
  11. required IntegrationAccount account,
  12. DateTime? syncedAt,
  13. int? subscriberCount,
  14. bool? revoked,
  15. IntegrationApplication? application,
})

Constructor

Implementation

Integration({
  required this.id,
  required this.name,
  required this.type,
  required 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,
});