onLogout property
@detail callback @author hanchenchen.c @brief Callback of logout result @param reason It describes the reason why users log out. See LogoutReason{@link #LogoutReason} @note You will receive this callback when calling logout{@link #RTCEngine#logout} or when the local user is kicked out because another user logs in with the same UserId.
Implementation
FutureOr<void> Function(LogoutReason reason)? onLogout;