GoogleChromeManagementV1DisplayDevice.fromJson constructor

GoogleChromeManagementV1DisplayDevice.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1DisplayDevice.fromJson(core.Map json_)
    : this(
        displayHeightMm: json_.containsKey('displayHeightMm')
            ? json_['displayHeightMm'] as core.int
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        displayWidthMm: json_.containsKey('displayWidthMm')
            ? json_['displayWidthMm'] as core.int
            : null,
        internal: json_.containsKey('internal')
            ? json_['internal'] as core.bool
            : null,
        manufactureYear: json_.containsKey('manufactureYear')
            ? json_['manufactureYear'] as core.int
            : null,
        manufacturerId: json_.containsKey('manufacturerId')
            ? json_['manufacturerId'] as core.String
            : null,
        modelId: json_.containsKey('modelId')
            ? json_['modelId'] as core.int
            : null,
      );