toJson method
Implementation
Map<String, dynamic> toJson() {
final bandwidth = this.bandwidth;
final bufferSegments = this.bufferSegments;
final retries = this.retries;
final retryInterval = this.retryInterval;
return {
if (bandwidth != null) 'bandwidth': bandwidth,
if (bufferSegments != null) 'bufferSegments': bufferSegments,
if (retries != null) 'retries': retries,
if (retryInterval != null) 'retryInterval': retryInterval,
};
}