toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customGpuDriverPath != null)
        'customGpuDriverPath': customGpuDriverPath!,
      if (disableTerminal != null) 'disableTerminal': disableTerminal!,
      if (enableHealthMonitoring != null)
        'enableHealthMonitoring': enableHealthMonitoring!,
      if (idleShutdown != null) 'idleShutdown': idleShutdown!,
      if (idleShutdownTimeout != null)
        'idleShutdownTimeout': idleShutdownTimeout!,
      if (installGpuDriver != null) 'installGpuDriver': installGpuDriver!,
      if (kernels != null) 'kernels': kernels!,
      if (mixerDisabled != null) 'mixerDisabled': mixerDisabled!,
      if (notebookUpgradeSchedule != null)
        'notebookUpgradeSchedule': notebookUpgradeSchedule!,
      if (postStartupScript != null) 'postStartupScript': postStartupScript!,
      if (postStartupScriptBehavior != null)
        'postStartupScriptBehavior': postStartupScriptBehavior!,
      if (upgradeable != null) 'upgradeable': upgradeable!,
      if (version != null) 'version': version!,
    };