ChannelData constructor

ChannelData({
  1. required int id,
  2. String? url,
  3. required String displayName,
  4. required int? parent,
  5. required String slug,
  6. required ChannelType type,
  7. required ChannelContentType contentType,
  8. required UserData user,
  9. required String? bannerImage,
  10. required String shortDisplayName,
  11. required String description,
  12. required String? metadataDescription,
  13. required bool hasChildren,
  14. required bool? isVisible,
  15. required bool? isPrivate,
  16. required bool? isLive,
  17. required GifData? featuredGif,
  18. required String? screensaverGif,
  19. required List<ChannelTagData> tags,
  20. required DateTime? liveSinceDatetime,
  21. required DateTime? liveUntilDatetime,
  22. required List<ChannelData> ancestors,
  23. required List<ChannelTagData> syncableTags,
})

Implementation

ChannelData({
  required this.id,
  this.url,
  required this.displayName,
  required this.parent,
  required this.slug,
  required this.type,
  required this.contentType,
  required this.user,
  required this.bannerImage,
  required this.shortDisplayName,
  required this.description,
  required this.metadataDescription,
  required this.hasChildren,
  required this.isVisible,
  required this.isPrivate,
  required this.isLive,
  required this.featuredGif,
  required this.screensaverGif,
  required this.tags,
  required this.liveSinceDatetime,
  required this.liveUntilDatetime,
  required this.ancestors,
  required this.syncableTags,
});