toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final maxAverageBitrate = this.maxAverageBitrate;
  final qvbrQualityLevel = this.qvbrQualityLevel;
  final qvbrQualityLevelFineTune = this.qvbrQualityLevelFineTune;
  return {
    if (maxAverageBitrate != null) 'maxAverageBitrate': maxAverageBitrate,
    if (qvbrQualityLevel != null) 'qvbrQualityLevel': qvbrQualityLevel,
    if (qvbrQualityLevelFineTune != null)
      'qvbrQualityLevelFineTune': qvbrQualityLevelFineTune,
  };
}