Loop constructor
Creates a Loop with the given input and output.
The provided objects must not be mutated after being given to the constructor (e.g. the ownership of any lists and maps passes to this object).
Implementation
const Loop(this.input, this.output);