update method
Implementation
void update(String key, dynamic value) {
if (key == "#init") {
throw Exception("You can't update #init");
}
__globalState = {...__globalState, key: value, "#init": key};
}
void update(String key, dynamic value) {
if (key == "#init") {
throw Exception("You can't update #init");
}
__globalState = {...__globalState, key: value, "#init": key};
}