onLeave property
Constant.onLeave is the function that you wish to execute while leaving the room
Implementation
static Function? onLeave;
Constant.onLeave is the function that you wish to execute while leaving the room
static Function? onLeave;