GoogleChromeManagementV1StorageInfo.fromJson constructor

GoogleChromeManagementV1StorageInfo.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1StorageInfo.fromJson(core.Map json_)
    : this(
        availableDiskBytes: json_.containsKey('availableDiskBytes')
            ? json_['availableDiskBytes'] as core.String
            : null,
        totalDiskBytes: json_.containsKey('totalDiskBytes')
            ? json_['totalDiskBytes'] as core.String
            : null,
        volume: json_.containsKey('volume')
            ? (json_['volume'] as core.List)
                .map((value) =>
                    GoogleChromeManagementV1StorageInfoDiskVolume.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );