getState method
Retrieves a value from the per-conversation state store.
Implementation
dynamic getState(String key, [dynamic defaultValue]) {
return _state.containsKey(key) ? _state[key] : defaultValue;
}
Retrieves a value from the per-conversation state store.
dynamic getState(String key, [dynamic defaultValue]) {
return _state.containsKey(key) ? _state[key] : defaultValue;
}