onLeave property

Function? onLeave
getter/setter pair

Constant.onLeave is the function that you wish to execute while leaving the room

Implementation

static Function? onLeave;