toJson method

Map<String, dynamic> toJson()

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,
  };
}