ChromeOsDeviceDiskVolumeReports.fromJson constructor

ChromeOsDeviceDiskVolumeReports.fromJson(
  1. Map json_
)

Implementation

ChromeOsDeviceDiskVolumeReports.fromJson(core.Map json_)
    : this(
        volumeInfo: json_.containsKey('volumeInfo')
            ? (json_['volumeInfo'] as core.List)
                .map((value) =>
                    ChromeOsDeviceDiskVolumeReportsVolumeInfo.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );