onTimeout property
Sets a callback that will be called when the session is timed out.
Calling this again will overwrite the previous value.
Implementation
void set onTimeout(void Function() callback);
Sets a callback that will be called when the session is timed out.
Calling this again will overwrite the previous value.
void set onTimeout(void Function() callback);