controller property
C
get
controller
The controller this scope owns.
Throws a StateError until there is one; controllerOrNull is the safe
read, and hasController is the question on its own. The window in which
the controller exists and the scope is not yet isInitialized is the one
AsyncDataScopeContext.data describes.
Implementation
C get controller;