cleanUp method Null safety
Implementation
void cleanUp() {
_eKey = null;
_sessionKey = null;
isRefreshingKey = false;
sessionUpdateCompleters.forEach((e) {
e.completeError(SBError());
});
sessionUpdateCompleters = [];
}
void cleanUp() {
_eKey = null;
_sessionKey = null;
isRefreshingKey = false;
sessionUpdateCompleters.forEach((e) {
e.completeError(SBError());
});
sessionUpdateCompleters = [];
}