DVMediaSource.asset constructor

const DVMediaSource.asset(
  1. String key, {
  2. DVMediaStreaming streaming = DVMediaStreaming.auto,
  3. String? progressive,
  4. DVDrmProtection? protection,
  5. bool cache = true,
})

Implementation

const DVMediaSource.asset(
  String key, {
  this.streaming = DVMediaStreaming.auto,
  this.progressive,
  this.protection,
  this.cache = true,
})  : kind = DVMediaSourceKind.asset,
      reference = key;