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