toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final maxAbrBitrate = this.maxAbrBitrate;
  final maxRenditions = this.maxRenditions;
  final minAbrBitrate = this.minAbrBitrate;
  return {
    if (maxAbrBitrate != null) 'maxAbrBitrate': maxAbrBitrate,
    if (maxRenditions != null) 'maxRenditions': maxRenditions,
    if (minAbrBitrate != null) 'minAbrBitrate': minAbrBitrate,
  };
}