logOut function
Logs out the user by clearing the session data, signing out the wallet service.
Implementation
Future<void> logOut() async {
try {
await _platform.logOut();
} catch (error, stackTrace) {
Error.throwWithStackTrace(error, stackTrace);
}
}