onTimeout property Null safety

void onTimeout=(void callback())

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);