BatchChangeChromeOsDeviceStatusResponse.fromJson constructor

BatchChangeChromeOsDeviceStatusResponse.fromJson(
  1. Map json_
)

Implementation

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