onExit property

void Function(int code)? onExit
final

The session ended with the given exit code (or -1 if it closed uncleanly).

Implementation

final void Function(int code)? onExit;