GoogleChromeManagementV1TelemetryUserDevice.fromJson constructor

GoogleChromeManagementV1TelemetryUserDevice.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1TelemetryUserDevice.fromJson(core.Map json_)
  : this(
      appReport:
          (json_['appReport'] as core.List?)
              ?.map(
                (value) => GoogleChromeManagementV1AppReport.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      audioStatusReport:
          (json_['audioStatusReport'] as core.List?)
              ?.map(
                (value) => GoogleChromeManagementV1AudioStatusReport.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      deviceActivityReport:
          (json_['deviceActivityReport'] as core.List?)
              ?.map(
                (value) =>
                    GoogleChromeManagementV1DeviceActivityReport.fromJson(
                      value as core.Map<core.String, core.dynamic>,
                    ),
              )
              .toList(),
      deviceId: json_['deviceId'] as core.String?,
      networkBandwidthReport:
          (json_['networkBandwidthReport'] as core.List?)
              ?.map(
                (value) =>
                    GoogleChromeManagementV1NetworkBandwidthReport.fromJson(
                      value as core.Map<core.String, core.dynamic>,
                    ),
              )
              .toList(),
      peripheralsReport:
          (json_['peripheralsReport'] as core.List?)
              ?.map(
                (value) => GoogleChromeManagementV1PeripheralsReport.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
    );