controller property

GetRootState get controller

The singleton controller for GetRootState.

controller provides a singleton instance of GetRootState for accessing its methods and properties.

Implementation

static GetRootState get controller {
  if (_controller == null) {
    throw Exception('GetRoot is not part of the three');
  } else {
    return _controller!;
  }
}