GoogleChromeManagementV1GraphicsInfo.fromJson constructor

GoogleChromeManagementV1GraphicsInfo.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1GraphicsInfo.fromJson(core.Map json_)
    : this(
        adapterInfo: json_.containsKey('adapterInfo')
            ? GoogleChromeManagementV1GraphicsAdapterInfo.fromJson(
                json_['adapterInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        displayDevices: json_.containsKey('displayDevices')
            ? (json_['displayDevices'] as core.List)
                .map((value) =>
                    GoogleChromeManagementV1DisplayDevice.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        eprivacySupported: json_.containsKey('eprivacySupported')
            ? json_['eprivacySupported'] as core.bool
            : null,
        touchScreenInfo: json_.containsKey('touchScreenInfo')
            ? GoogleChromeManagementV1TouchScreenInfo.fromJson(
                json_['touchScreenInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );