CastMedia constructor

CastMedia({
  1. String? contentId,
  2. String? title,
  3. String? subtitle,
  4. bool autoPlay = true,
  5. double position = 0.0,
  6. double playbackRate = 1.0,
  7. String contentType = 'video/mp4',
  8. List<String>? images,
})

Implementation

CastMedia({
  this.contentId,
  this.title,
  this.subtitle,
  this.autoPlay = true,
  this.position = 0.0,
  this.playbackRate = 1.0,
  this.contentType = 'video/mp4',
  this.images,
}) {
  if (null == images) {
    images = [];
  }
}