resetSessionKey method
dynamic
resetSessionKey(
- dynamic context
Implementation
resetSessionKey(context) async {
myLogAll('resetSessionKey');
try {
_sessionkey = '';
await Future.delayed(const Duration(milliseconds: 200)); //等1秒
_requestCnt++;
if (_requestCnt > _requestCntMax) {
_requestCnt = 0;
throw Exception(getSCurrent(gServerdown));
}
sendRequestList(context);
} catch (e) {
rethrow;
}
}