onUserRoleChanged property
////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// User Role Changed Event
userId
User ID
role
User Role - Refer to TUIRole Enumeration Definition for details.
Implementation
//
// Deprecated Event Callback
//
/////////////////////////////////////////////////////////////////////////////////
/// User Role Changed Event
///
/// [userId] User ID
/// [role] User Role - Refer to TUIRole Enumeration Definition for details.
@Deprecated('use onUserInfoChanged instead')
OnUserRoleChanged onUserRoleChanged = (TUIUserInfo userInfo) {};