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