buildLOGIUpdateSessionKey static method
Implementation
static Command buildLOGIUpdateSessionKey(String? token) {
final hasCallback =
SendbirdSdk().getInternal().eventManager.getSessionHandler() != null;
return Command(
cmd: CommandString.login,
payload: {
if (token != null) 'token': token,
'expiring_session': hasCallback,
},
);
}