onUserLeave method Null safety

void onUserLeave(
  1. int uid,
  2. int reason
)

Get notified when a user leaves a room.

uid user ID

Implementation

void onUserLeave(int uid, int reason);