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