toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appInstallEvent != null) 'appInstallEvent': appInstallEvent!,
      if (appLaunchEvent != null) 'appLaunchEvent': appLaunchEvent!,
      if (appUninstallEvent != null) 'appUninstallEvent': appUninstallEvent!,
      if (audioSevereUnderrunEvent != null)
        'audioSevereUnderrunEvent': audioSevereUnderrunEvent!,
      if (device != null) 'device': device!,
      if (eventType != null) 'eventType': eventType!,
      if (httpsLatencyChangeEvent != null)
        'httpsLatencyChangeEvent': httpsLatencyChangeEvent!,
      if (name != null) 'name': name!,
      if (networkStateChangeEvent != null)
        'networkStateChangeEvent': networkStateChangeEvent!,
      if (reportTime != null) 'reportTime': reportTime!,
      if (usbPeripheralsEvent != null)
        'usbPeripheralsEvent': usbPeripheralsEvent!,
      if (user != null) 'user': user!,
      if (vpnConnectionStateChangeEvent != null)
        'vpnConnectionStateChangeEvent': vpnConnectionStateChangeEvent!,
      if (wifiSignalStrengthEvent != null)
        'wifiSignalStrengthEvent': wifiSignalStrengthEvent!,
    };