Segment constructor
Segment({
- required String? url,
- Segment? initializationSegment,
- int? durationUs,
- String? title,
- int? relativeDiscontinuitySequence,
- int? relativeStartTimeUs,
- DrmInitData? drmInitData,
- required String? fullSegmentEncryptionKeyUri,
- required String? encryptionIV,
- required int? byterangeOffset,
- required int? byterangeLength,
- bool hasGapTag = false,
Implementation
Segment({
required this.url,
this.initializationSegment,
this.durationUs,
this.title,
this.relativeDiscontinuitySequence,
this.relativeStartTimeUs,
this.drmInitData,
required this.fullSegmentEncryptionKeyUri,
required this.encryptionIV,
required this.byterangeOffset,
required this.byterangeLength,
this.hasGapTag = false,
});