VideoWithComments constructor Null safety

VideoWithComments(
  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. required List<Comment> comments,
  18. ChannelMin? channel}
)

Implementation

VideoWithComments({
  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,
  required this.comments,
  ChannelMin? channel,
}) : 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,
  songcount: songcount,
  language: language,
  channel: channel,
);