clear method

dynamic clear(
  1. dynamic context
)

Implementation

clear(context) async {
  myLogAll('clear');
  //print('  ================== clear');
  //_token = '';
  //_myId = '';
  _sessionkey = '';
  _globalParam = clearGlobalParam();
  //_uId = '';
  _formLists = {};
  _tabList = {};
  /*Map newTableList = {};
  newTableList[gZzyi10nlist] = _tableList[gZzyi10nlist];
  newTableList[gZzydictionary] = _tableList[gZzydictionary];
  newTableList[gZzydictionaryitem] = _tableList[gZzydictionaryitem];

  _tableList = {};
  _tableList[gZzyi10nlist] = newTableList[gZzyi10nlist];
  _tableList[gZzydictionary] = newTableList[gZzydictionary];
  _tableList[gZzydictionaryitem] = newTableList[gZzydictionaryitem];*/

  //Widget _tabWidget;
  _actionLists = {};
  _menuLists = {};
  _dpList = {};
  setDroplist(null, context);
  _requestList = Queue();
  // ignore: prefer_final_fields
  _requestListRunning = Queue();
  //_globalLastFocus = {};
  //_globalLastID = 0;
  setMyFocusNode({gType: null});
  _stackList = [];
  clearDB();

  //clearMFocusNode(context);

  //removeAllScreens(null, context);
}