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_.containsKey('applicationReportsEnabled')
                ? json_['applicationReportsEnabled'] as core.bool
                : null,
        commonCriteriaModeEnabled:
            json_.containsKey('commonCriteriaModeEnabled')
                ? json_['commonCriteriaModeEnabled'] as core.bool
                : null,
        deviceSettingsEnabled: json_.containsKey('deviceSettingsEnabled')
            ? json_['deviceSettingsEnabled'] as core.bool
            : null,
        displayInfoEnabled: json_.containsKey('displayInfoEnabled')
            ? json_['displayInfoEnabled'] as core.bool
            : null,
        hardwareStatusEnabled: json_.containsKey('hardwareStatusEnabled')
            ? json_['hardwareStatusEnabled'] as core.bool
            : null,
        memoryInfoEnabled: json_.containsKey('memoryInfoEnabled')
            ? json_['memoryInfoEnabled'] as core.bool
            : null,
        networkInfoEnabled: json_.containsKey('networkInfoEnabled')
            ? json_['networkInfoEnabled'] as core.bool
            : null,
        powerManagementEventsEnabled:
            json_.containsKey('powerManagementEventsEnabled')
                ? json_['powerManagementEventsEnabled'] as core.bool
                : null,
        softwareInfoEnabled: json_.containsKey('softwareInfoEnabled')
            ? json_['softwareInfoEnabled'] as core.bool
            : null,
        systemPropertiesEnabled: json_.containsKey('systemPropertiesEnabled')
            ? json_['systemPropertiesEnabled'] as core.bool
            : null,
      );