contains method

bool contains(
  1. StateId id
)

Implementation

bool contains(StateId id) => id == 'init' || states.containsKey(id);