rootCon property

StateXController? get rootCon
inherited

Returns 'the first' StateXController associated with this StateX object. Returns null if empty.

Implementation

StateXController? get rootCon {
  final list = _controllerList;
  return list.isEmpty ? null : list.first;
}