VideoPlaybackDetails constructor Null safety

VideoPlaybackDetails(
  1. {required String videoId,
  2. double? duration,
  3. String? caption,
  4. String? badge,
  5. VideoPlayerSize? playerSize,
  6. bool? hasCTA,
  7. double? progress,
  8. String? ctaActionType,
  9. String? ctaActionURL,
  10. String? feedId}
)

Implementation

VideoPlaybackDetails(
    {required this.videoId,
    this.duration,
    this.caption,
    this.badge,
    this.playerSize,
    this.hasCTA,
    this.progress,
    this.ctaActionType,
    this.ctaActionURL,
    this.feedId});