Channel constructor

Channel({
  1. required String id,
  2. String? provider,
  3. String? accountId,
  4. required String name,
  5. required String type,
  6. String? description,
  7. String? topic,
  8. required bool isMember,
  9. required bool isArchived,
  10. int? memberCount,
  11. DateTime? createdAt,
})

Returns a new Channel instance.

Implementation

Channel({
  required this.id,
  this.provider,
  this.accountId,
  required this.name,
  required this.type,
  this.description,
  this.topic,
  required this.isMember,
  required this.isArchived,
  this.memberCount,
  this.createdAt,
});