VideoFull constructor Null safety

VideoFull(
  1. {required String id,
  2. required String title,
  3. required VideoType type,
  4. String? topicId,
  5. String? publishedAt,
  6. required String availableAt,
  7. int? duration,
  8. required VideoStatus status,
  9. String? startScheduled,
  10. String? startActual,
  11. String? endActual,
  12. int? liveViewers,
  13. String? description,
  14. String? channelId,
  15. int? songcount,
  16. String? language,
  17. ChannelMin? channel,
  18. List<Video>? clips,
  19. List<Video>? sources,
  20. List<Video>? refers,
  21. List<Video>? simulcasts,
  22. List<Channel>? mentions,
  23. List<Song>? songs}
)

Returns a new VideoFull instance.

Implementation

VideoFull({
  required String id,
  required String title,
  required VideoType type,
  String? topicId,
  String? publishedAt,
  required String availableAt,
  int? duration,
  required VideoStatus status,
  String? startScheduled,
  String? startActual,
  String? endActual,
  int? liveViewers,
  String? description,
  String? channelId,
  int? songcount,
  String? language,
  ChannelMin? channel,
  this.clips,
  this.sources,
  this.refers,
  this.simulcasts,
  this.mentions,
  this.songs,
}) : super(
  id: id,
  title: title,
  type: type,
  topicId: topicId,
  publishedAt: publishedAt,
  availableAt: availableAt,
  duration: duration,
  status: status,
  startScheduled: startScheduled,
  startActual: startActual,
  endActual: endActual,
  liveViewers: liveViewers,
  description: description,
  channelId: channelId,
  channel: channel,
  songcount: songcount,
  language: language,
);