updateUserName method

Future<void> updateUserName(
  1. UserName? name
)

Updates MyUser.name field for the authenticated MyUser.

If name is null, then resets MyUser.name field.

Implementation

Future<void> updateUserName(UserName? name) async {
  Log.debug('updateUserName($name)', '$runtimeType');
  await _myUserRepository.updateUserName(name);
}