toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (targetReceivedBytesPerSecond != null)
        'targetReceivedBytesPerSecond': targetReceivedBytesPerSecond!,
      if (targetReceivedPacketsPerSecond != null)
        'targetReceivedPacketsPerSecond': targetReceivedPacketsPerSecond!,
      if (targetSentBytesPerSecond != null)
        'targetSentBytesPerSecond': targetSentBytesPerSecond!,
      if (targetSentPacketsPerSecond != null)
        'targetSentPacketsPerSecond': targetSentPacketsPerSecond!,
    };