toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appReport != null) 'appReport': appReport!,
      if (audioStatusReport != null) 'audioStatusReport': audioStatusReport!,
      if (batteryInfo != null) 'batteryInfo': batteryInfo!,
      if (batteryStatusReport != null)
        'batteryStatusReport': batteryStatusReport!,
      if (bootPerformanceReport != null)
        'bootPerformanceReport': bootPerformanceReport!,
      if (cpuInfo != null) 'cpuInfo': cpuInfo!,
      if (cpuStatusReport != null) 'cpuStatusReport': cpuStatusReport!,
      if (customer != null) 'customer': customer!,
      if (deviceId != null) 'deviceId': deviceId!,
      if (graphicsInfo != null) 'graphicsInfo': graphicsInfo!,
      if (graphicsStatusReport != null)
        'graphicsStatusReport': graphicsStatusReport!,
      if (heartbeatStatusReport != null)
        'heartbeatStatusReport': heartbeatStatusReport!,
      if (kioskAppStatusReport != null)
        'kioskAppStatusReport': kioskAppStatusReport!,
      if (memoryInfo != null) 'memoryInfo': memoryInfo!,
      if (memoryStatusReport != null)
        'memoryStatusReport': memoryStatusReport!,
      if (name != null) 'name': name!,
      if (networkBandwidthReport != null)
        'networkBandwidthReport': networkBandwidthReport!,
      if (networkDiagnosticsReport != null)
        'networkDiagnosticsReport': networkDiagnosticsReport!,
      if (networkInfo != null) 'networkInfo': networkInfo!,
      if (networkStatusReport != null)
        'networkStatusReport': networkStatusReport!,
      if (orgUnitId != null) 'orgUnitId': orgUnitId!,
      if (osUpdateStatus != null) 'osUpdateStatus': osUpdateStatus!,
      if (peripheralsReport != null) 'peripheralsReport': peripheralsReport!,
      if (runtimeCountersReport != null)
        'runtimeCountersReport': runtimeCountersReport!,
      if (serialNumber != null) 'serialNumber': serialNumber!,
      if (storageInfo != null) 'storageInfo': storageInfo!,
      if (storageStatusReport != null)
        'storageStatusReport': storageStatusReport!,
      if (thunderboltInfo != null) 'thunderboltInfo': thunderboltInfo!,
    };