deletePhone method
- UserPhone phone
Deletes the provided phone
from MyUser.phones.
Implementation
Future<void> deletePhone(UserPhone phone) async {
try {
await _myUserService.deleteUserPhone(phone);
} catch (_) {
MessagePopup.error('err_data_transfer'.l10n);
rethrow;
}
}