label property
String
label
Returns a transition label for use on exported diagrams. The label takes the standard UML2 form of:
transition[condition]/sideeffect
If the transition supports multiple events we just take use the first one.
Implementation
String get label => labelForEvent(triggerEvents[0]);