onSessionExpired property

VoidCb? onSessionExpired
getter/setter pair

Called when a request comes back with a 401/403 status code, so you can navigate to your sign-in screen and clear any stored session.

Implementation

static VoidCb? onSessionExpired;