GoogleChromeManagementV1DisplayInfo.fromJson constructor

GoogleChromeManagementV1DisplayInfo.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1DisplayInfo.fromJson(core.Map json_)
    : this(
        deviceId: json_.containsKey('deviceId')
            ? json_['deviceId'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        isInternal: json_.containsKey('isInternal')
            ? json_['isInternal'] as core.bool
            : null,
        refreshRate: json_.containsKey('refreshRate')
            ? json_['refreshRate'] as core.int
            : null,
        resolutionHeight: json_.containsKey('resolutionHeight')
            ? json_['resolutionHeight'] as core.int
            : null,
        resolutionWidth: json_.containsKey('resolutionWidth')
            ? json_['resolutionWidth'] as core.int
            : null,
      );