make static method
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,
);