updateCurrentUserInfo static method

Future<void> updateCurrentUserInfo(
  1. {String? nickname,
  2. FileInfo? profileFileInfo,
  3. List<String>? preferredLanguages,
  4. ProgressHandler? progressHandler}
)

Updates current User's information.

Implementation

static Future<void> updateCurrentUserInfo({
  String? nickname,
  FileInfo? profileFileInfo,
  List<String>? preferredLanguages,
  ProgressHandler? progressHandler,
}) async {
  sbLog.i(StackTrace.current, 'nickname: $nickname');
  await _instance._chat.updateCurrentUserInfo(
    nickname: nickname,
    profileFileInfo: profileFileInfo,
    preferredLanguages: preferredLanguages,
    progressHandler: progressHandler,
  );
}