afterForceUpdate method
Implementation
@override
afterForceUpdate() async {
dev.log("afterForceUpdate", name: "SplashViewModel : run");
var ret = await repository.isCompletedIntro();
if (ret is SplashError) {
_error = ret;
update(state: SplashViewState.Error);
return;
}
if (ret) {
afterIntro();
return;
}
update(state: SplashViewState.Intro);
}