AdvancedMachineFeatures.fromJson constructor

AdvancedMachineFeatures.fromJson(
  1. Map json_
)

Implementation

AdvancedMachineFeatures.fromJson(core.Map json_)
    : this(
        enableNestedVirtualization:
            json_.containsKey('enableNestedVirtualization')
                ? json_['enableNestedVirtualization'] as core.bool
                : null,
        enableUefiNetworking: json_.containsKey('enableUefiNetworking')
            ? json_['enableUefiNetworking'] as core.bool
            : null,
        performanceMonitoringUnit:
            json_.containsKey('performanceMonitoringUnit')
                ? json_['performanceMonitoringUnit'] as core.String
                : null,
        threadsPerCore: json_.containsKey('threadsPerCore')
            ? json_['threadsPerCore'] as core.int
            : null,
        visibleCoreCount: json_.containsKey('visibleCoreCount')
            ? json_['visibleCoreCount'] as core.int
            : null,
      );