generateSessionId method

Future<String> generateSessionId()

Implementation

Future<String> generateSessionId() async {
  final sessionId = _generateRandomId();
  await setSessionId(sessionId);
  resetSequence(); // Nueva sesión = sequence se resetea a 0
  return sessionId;
}