onTimeout property - HttpSession class - dart:io library (original) (raw)
setonTimeout (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);