removeFromBlocklist method
Removes an email or domain from the blocklist for a campaign in the Instantly API.
Implementation
Future<void> removeFromBlocklist({
required String campaignId,
required String emailOrDomain,
}) async {
await _dio.post<void>(
'/blocklist/remove',
data: {
'campaign_id': campaignId,
'item':
emailOrDomain, // Assuming the API uses a similar payload structure for removal
},
);
}