toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (applicationReportingSettings != null)
        'applicationReportingSettings': applicationReportingSettings!,
      if (applicationReportsEnabled != null)
        'applicationReportsEnabled': applicationReportsEnabled!,
      if (commonCriteriaModeEnabled != null)
        'commonCriteriaModeEnabled': commonCriteriaModeEnabled!,
      if (deviceSettingsEnabled != null)
        'deviceSettingsEnabled': deviceSettingsEnabled!,
      if (displayInfoEnabled != null)
        'displayInfoEnabled': displayInfoEnabled!,
      if (hardwareStatusEnabled != null)
        'hardwareStatusEnabled': hardwareStatusEnabled!,
      if (memoryInfoEnabled != null) 'memoryInfoEnabled': memoryInfoEnabled!,
      if (networkInfoEnabled != null)
        'networkInfoEnabled': networkInfoEnabled!,
      if (powerManagementEventsEnabled != null)
        'powerManagementEventsEnabled': powerManagementEventsEnabled!,
      if (softwareInfoEnabled != null)
        'softwareInfoEnabled': softwareInfoEnabled!,
      if (systemPropertiesEnabled != null)
        'systemPropertiesEnabled': systemPropertiesEnabled!,
    };