refreshSession function

Future<void> refreshSession()

Refreshes the user session to extend the session expiration time.

Implementation

Future<void> refreshSession() async {
  try {
    await _platform.refreshSession();
  } catch (error, stackTrace) {
    Error.throwWithStackTrace(error, stackTrace);
  }
}