GoogleChromeManagementV1TelemetryEvent.fromJson constructor

GoogleChromeManagementV1TelemetryEvent.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1TelemetryEvent.fromJson(core.Map json_)
    : this(
        appInstallEvent: json_.containsKey('appInstallEvent')
            ? GoogleChromeManagementV1TelemetryAppInstallEvent.fromJson(
                json_['appInstallEvent']
                    as core.Map<core.String, core.dynamic>)
            : null,
        appLaunchEvent: json_.containsKey('appLaunchEvent')
            ? GoogleChromeManagementV1TelemetryAppLaunchEvent.fromJson(
                json_['appLaunchEvent']
                    as core.Map<core.String, core.dynamic>)
            : null,
        appUninstallEvent: json_.containsKey('appUninstallEvent')
            ? GoogleChromeManagementV1TelemetryAppUninstallEvent.fromJson(
                json_['appUninstallEvent']
                    as core.Map<core.String, core.dynamic>)
            : null,
        audioSevereUnderrunEvent:
            json_.containsKey('audioSevereUnderrunEvent')
                ? GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent
                    .fromJson(json_['audioSevereUnderrunEvent']
                        as core.Map<core.String, core.dynamic>)
                : null,
        device: json_.containsKey('device')
            ? GoogleChromeManagementV1TelemetryDeviceInfo.fromJson(
                json_['device'] as core.Map<core.String, core.dynamic>)
            : null,
        eventType: json_.containsKey('eventType')
            ? json_['eventType'] as core.String
            : null,
        httpsLatencyChangeEvent: json_.containsKey('httpsLatencyChangeEvent')
            ? GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent
                .fromJson(json_['httpsLatencyChangeEvent']
                    as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        networkStateChangeEvent: json_.containsKey('networkStateChangeEvent')
            ? GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
                .fromJson(json_['networkStateChangeEvent']
                    as core.Map<core.String, core.dynamic>)
            : null,
        reportTime: json_.containsKey('reportTime')
            ? json_['reportTime'] as core.String
            : null,
        usbPeripheralsEvent: json_.containsKey('usbPeripheralsEvent')
            ? GoogleChromeManagementV1TelemetryUsbPeripheralsEvent.fromJson(
                json_['usbPeripheralsEvent']
                    as core.Map<core.String, core.dynamic>)
            : null,
        user: json_.containsKey('user')
            ? GoogleChromeManagementV1TelemetryUserInfo.fromJson(
                json_['user'] as core.Map<core.String, core.dynamic>)
            : null,
        vpnConnectionStateChangeEvent: json_
                .containsKey('vpnConnectionStateChangeEvent')
            ? GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
                .fromJson(json_['vpnConnectionStateChangeEvent']
                    as core.Map<core.String, core.dynamic>)
            : null,
        wifiSignalStrengthEvent: json_.containsKey('wifiSignalStrengthEvent')
            ? GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent
                .fromJson(json_['wifiSignalStrengthEvent']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );