updateUserName abstract method

Future<ZIMUserNameUpdatedResult> updateUserName(
  1. String userName
)

Available since: 2.2.0 and above.

Description: Through this interface, you can update your user name.

When to call /Trigger: It is available only after calling create to create the instance and then calling login to login.

userName the user name you want to update.

Implementation

Future<ZIMUserNameUpdatedResult> updateUserName(String userName);