toJson method
Implementation
Map<String, dynamic> toJson() {
final hlsManifests = this.hlsManifests;
final encryption = this.encryption;
final segmentDurationSeconds = this.segmentDurationSeconds;
return {
'hlsManifests': hlsManifests,
if (encryption != null) 'encryption': encryption,
if (segmentDurationSeconds != null)
'segmentDurationSeconds': segmentDurationSeconds,
};
}