addVariable method
Add a variable to the context
Implementation
void addVariable(String scope, String name, dynamic value) {
_appContext = _appContext.addVariable(scope, name, value);
// Persist session and custom scope variables (not execution scope)
if (scope == 'session' || (scope != 'execution')) {
_persistSessionVariables();
}
}