DiskUtilization.fromJson constructor

DiskUtilization.fromJson(
  1. Map json_
)

Implementation

DiskUtilization.fromJson(core.Map json_)
    : this(
        targetReadBytesPerSecond:
            json_.containsKey('targetReadBytesPerSecond')
                ? json_['targetReadBytesPerSecond'] as core.int
                : null,
        targetReadOpsPerSecond: json_.containsKey('targetReadOpsPerSecond')
            ? json_['targetReadOpsPerSecond'] as core.int
            : null,
        targetWriteBytesPerSecond:
            json_.containsKey('targetWriteBytesPerSecond')
                ? json_['targetWriteBytesPerSecond'] as core.int
                : null,
        targetWriteOpsPerSecond: json_.containsKey('targetWriteOpsPerSecond')
            ? json_['targetWriteOpsPerSecond'] as core.int
            : null,
      );