NetworkUtilization.fromJson constructor

NetworkUtilization.fromJson(
  1. Map json_
)

Implementation

NetworkUtilization.fromJson(core.Map json_)
    : this(
        targetReceivedBytesPerSecond:
            json_.containsKey('targetReceivedBytesPerSecond')
                ? json_['targetReceivedBytesPerSecond'] as core.int
                : null,
        targetReceivedPacketsPerSecond:
            json_.containsKey('targetReceivedPacketsPerSecond')
                ? json_['targetReceivedPacketsPerSecond'] as core.int
                : null,
        targetSentBytesPerSecond:
            json_.containsKey('targetSentBytesPerSecond')
                ? json_['targetSentBytesPerSecond'] as core.int
                : null,
        targetSentPacketsPerSecond:
            json_.containsKey('targetSentPacketsPerSecond')
                ? json_['targetSentPacketsPerSecond'] as core.int
                : null,
      );