deleteAvatar method

Future<void> deleteAvatar()

Deletes the MyUser.avatar and MyUser.callCover.

Implementation

Future<void> deleteAvatar() async {
  avatarUpload.value = RxStatus.loading();
  try {
    await _updateAvatar(null, null);
  } finally {
    avatarUpload.value = RxStatus.empty();
  }
}