rootCon property
StateXController?
get
rootCon
inherited
Returns 'the first' StateXController associated with this StateX object. Returns null if empty.
Implementation
StateXController? get rootCon {
StateXController? controller;
final state = firstState;
if (state != null) {
controller = state.controller;
}
return controller;
}