changeCurrentScene method
Change the current scene to this scene
.
Implementation
void changeCurrentScene(DiveScene scene) {
scene.makeCurrentScene();
updateState((state) => state.copyWith(currentScene: scene));
}
Change the current scene to this scene
.
void changeCurrentScene(DiveScene scene) {
scene.makeCurrentScene();
updateState((state) => state.copyWith(currentScene: scene));
}