KernelRootkit.fromJson constructor

KernelRootkit.fromJson(
  1. Map json_
)

Implementation

KernelRootkit.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        unexpectedCodeModification:
            json_.containsKey('unexpectedCodeModification')
                ? json_['unexpectedCodeModification'] as core.bool
                : null,
        unexpectedFtraceHandler: json_.containsKey('unexpectedFtraceHandler')
            ? json_['unexpectedFtraceHandler'] as core.bool
            : null,
        unexpectedInterruptHandler:
            json_.containsKey('unexpectedInterruptHandler')
                ? json_['unexpectedInterruptHandler'] as core.bool
                : null,
        unexpectedKernelCodePages:
            json_.containsKey('unexpectedKernelCodePages')
                ? json_['unexpectedKernelCodePages'] as core.bool
                : null,
        unexpectedKprobeHandler: json_.containsKey('unexpectedKprobeHandler')
            ? json_['unexpectedKprobeHandler'] as core.bool
            : null,
        unexpectedProcessesInRunqueue:
            json_.containsKey('unexpectedProcessesInRunqueue')
                ? json_['unexpectedProcessesInRunqueue'] as core.bool
                : null,
        unexpectedReadOnlyDataModification:
            json_.containsKey('unexpectedReadOnlyDataModification')
                ? json_['unexpectedReadOnlyDataModification'] as core.bool
                : null,
        unexpectedSystemCallHandler:
            json_.containsKey('unexpectedSystemCallHandler')
                ? json_['unexpectedSystemCallHandler'] as core.bool
                : null,
      );