setTransition method

void setTransition(
  1. MapEntry<String, T> transition
)

Implementation

void setTransition(MapEntry<String, T> transition) =>
    _transitions.putIfAbsent(transition.key, () => transition.value);