make static method

ScriptingWorkspace make({
  1. bool canvasEnabled = false,
  2. bool netEnabled = false,
})

canvasEnabled types the GPU canvas APIs; netEnabled types fetch(), context:decodeFile and bindable artboards, which only a runtime built with script networking has (otherwise they stay untyped).

Implementation

static ScriptingWorkspace make({
  bool canvasEnabled = false,
  bool netEnabled = false,
}) =>
    makeScriptingWorkspace(
      canvasEnabled: canvasEnabled,
      netEnabled: netEnabled,
    );