toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bandwidth != null) 'bandwidth': bandwidth!,
      if (burst != null) 'burst': burst!,
      if (delay != null) 'delay': delay!,
      if (packetDuplicationRatio != null)
        'packetDuplicationRatio': packetDuplicationRatio!,
      if (packetLossRatio != null) 'packetLossRatio': packetLossRatio!,
    };