StatusReportingSettings.fromJson constructor

StatusReportingSettings.fromJson(
  1. Map json_
)

Implementation

StatusReportingSettings.fromJson(core.Map json_)
  : this(
      applicationReportingSettings:
          json_.containsKey('applicationReportingSettings')
          ? ApplicationReportingSettings.fromJson(
              json_['applicationReportingSettings']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      applicationReportsEnabled:
          json_['applicationReportsEnabled'] as core.bool?,
      commonCriteriaModeEnabled:
          json_['commonCriteriaModeEnabled'] as core.bool?,
      defaultApplicationInfoReportingEnabled:
          json_['defaultApplicationInfoReportingEnabled'] as core.bool?,
      deviceSettingsEnabled: json_['deviceSettingsEnabled'] as core.bool?,
      displayInfoEnabled: json_['displayInfoEnabled'] as core.bool?,
      hardwareStatusEnabled: json_['hardwareStatusEnabled'] as core.bool?,
      memoryInfoEnabled: json_['memoryInfoEnabled'] as core.bool?,
      networkInfoEnabled: json_['networkInfoEnabled'] as core.bool?,
      powerManagementEventsEnabled:
          json_['powerManagementEventsEnabled'] as core.bool?,
      softwareInfoEnabled: json_['softwareInfoEnabled'] as core.bool?,
      systemPropertiesEnabled: json_['systemPropertiesEnabled'] as core.bool?,
    );