runInit method
Runs initController and completes ready. Called once by the state when the controller is created — do not call this manually.
Implementation
@nonVirtual
Future<void> runInit() async {
if (_readyCompleter.isCompleted) return;
try {
await initController();
_readyCompleter.complete();
} catch (error, stackTrace) {
_readyCompleter.completeError(error, stackTrace);
}
}