State<T> constructor

State<T>(
  1. Machine machine,
  2. T identifier
)

Constructs a new state with an identifier.

Implementation

State(this.machine, this.identifier);