toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final transportStreamBitrate = this.transportStreamBitrate;
  final transportStreamId = this.transportStreamId;
  final maximumVideoBufferDelayMilliseconds =
      this.maximumVideoBufferDelayMilliseconds;
  final transportStreamReservedBitrate = this.transportStreamReservedBitrate;
  return {
    'transportStreamBitrate': transportStreamBitrate,
    'transportStreamId': transportStreamId,
    if (maximumVideoBufferDelayMilliseconds != null)
      'maximumVideoBufferDelayMilliseconds':
          maximumVideoBufferDelayMilliseconds,
    if (transportStreamReservedBitrate != null)
      'transportStreamReservedBitrate': transportStreamReservedBitrate,
  };
}