rootCon property

  1. @override
StateXController? rootCon
inherited

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

Implementation

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