onRefresh property
void Function()?
onRefresh
getter/setter pair
Called by the SessionLifecycle after a periodic session refresh succeeds.
The session manager sets this to persist the updated session to storage.
Implementation
void Function()? onRefresh;