and method

Transition and(
  1. Transition other
)

Chains another transition to this transition.

Implementation

Transition and(Transition other) =>
    Transition._([..._transitions, ...other._transitions]);