Script constructor

Script(
  1. Iterable<ScriptOp> ops
)

Constructs a script from the operations

Implementation

Script(Iterable<ScriptOp> ops) : ops = List<ScriptOp>.unmodifiable(ops);