initAsyncState method
Called with every StateX associated with this Controller
Initialize any 'time-consuming' operations at the beginning.
Implement any asynchronous operations needed done at start up.
Implementation
@override
Future<bool> initAsyncState(covariant State state) async {
// Record the triggered event
assert(() {
if (_debugPrintEvents) {
debugPrint(
'$_consoleLeadingLine initAsyncState() in $_consoleClassName');
}
return true;
}());
return true;
}