GPUDriverConfig.fromJson constructor

GPUDriverConfig.fromJson(
  1. Map json_
)

Implementation

GPUDriverConfig.fromJson(core.Map json_)
    : this(
        customGpuDriverPath: json_.containsKey('customGpuDriverPath')
            ? json_['customGpuDriverPath'] as core.String
            : null,
        enableGpuDriver: json_.containsKey('enableGpuDriver')
            ? json_['enableGpuDriver'] as core.bool
            : null,
      );