updateOpenState method
Implementation
void updateOpenState({required bool state}) {
if (state != isOpen) {
isOpen = state;
notifyListeners();
}
}
void updateOpenState({required bool state}) {
if (state != isOpen) {
isOpen = state;
notifyListeners();
}
}