updatePageState method
Implementation
void updatePageState(String action, dynamic data) {
assert(state != null, "State cannot be null");
if (state == null) return;
updateState(state!, data: {"action": action, "data": data});
}
void updatePageState(String action, dynamic data) {
assert(state != null, "State cannot be null");
if (state == null) return;
updateState(state!, data: {"action": action, "data": data});
}