state property Null safety

STATES_ENUM state

The current state of this workflow

Implementation

STATES_ENUM get state => lastEvent.state;