Channel constructor

Channel({
  1. required String id,
  2. required ChannelType type,
  3. String? guildId,
  4. int? position,
  5. List<Overwrite>? permissionOverwrites,
  6. String? name,
  7. String? topic,
  8. bool? nsfw,
  9. String? lastMessageId,
  10. int? bitrate,
  11. int? userLimit,
  12. int? rateLimitPerUser,
  13. List<User>? recipients,
  14. String? icon,
  15. String? ownerId,
  16. String? applicationId,
  17. String? parentId,
  18. String? lastPinTimestamp,
})

Implementation

Channel({
  required this.id,
  required this.type,
  this.guildId,
  this.position,
  this.permissionOverwrites,
  this.name,
  this.topic,
  this.nsfw,
  this.lastMessageId,
  this.bitrate,
  this.userLimit,
  this.rateLimitPerUser,
  this.recipients,
  this.icon,
  this.ownerId,
  this.applicationId,
  this.parentId,
  this.lastPinTimestamp,
});