deleteEmail method

Future<void> deleteEmail(
  1. UserEmail email
)

Deletes the provided email from MyUser.emails.

Implementation

Future<void> deleteEmail(UserEmail email) async {
  try {
    await _myUserService.deleteUserEmail(email);
  } catch (_) {
    MessagePopup.error('err_data_transfer'.l10n);
    rethrow;
  }
}