loop property Null safety

Loop loop

Implementation

Loop get loop => Loop.values[loopValue];
void loop=(Loop value)

Implementation

set loop(Loop value) => loopValue = value.index;