UHlsSegment constructor

const UHlsSegment({
  1. required String url,
  2. required Duration duration,
  3. required int sequence,
  4. String? title,
  5. int? byteRangeLength,
  6. int? byteRangeOffset,
  7. bool discontinuity = false,
  8. UHlsKey? key,
  9. String? initUrl,
  10. DateTime? programDateTime,
})

Implementation

const UHlsSegment({
  required this.url,
  required this.duration,
  required this.sequence,
  this.title,
  this.byteRangeLength,
  this.byteRangeOffset,
  this.discontinuity = false,
  this.key,
  this.initUrl,
  this.programDateTime,
});