onLocalUserRegistered property
Callback when the local user successfully registers a User Account.
When the local user successfully registers a User Account by calling registerLocalUserAccount, or joins a channel using joinChannelWithUserAccount, the SDK triggers this callback and reports the local user's UID and User Account.
uidThe local user's ID.userAccountThe local user's User Account.
Implementation
final void Function(int uid, String userAccount)? onLocalUserRegistered;