deleteUserContactWithId function
Implementation
Future<bool?> deleteUserContactWithId(String id) async {
try {
final deleteContactResponse = await _platform.deleteUserContactWithId(id);
if (deleteContactResponse == null) {
throw Exception('Unable to update contact.');
}
return deleteContactResponse;
} catch (error, stackTrace) {
Error.throwWithStackTrace(error, stackTrace);
}
}