CastMedia constructor

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

Implementation

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