GoogleChromeManagementV1TelemetryUserDevice.fromJson constructor

GoogleChromeManagementV1TelemetryUserDevice.fromJson(
  1. Map json_
)

Implementation

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