markThreadAsRead method
Marks an email as read in the Instantly API.
Implementation
Future<void> markThreadAsRead({
required String threadId,
}) async {
await _dio.post<void>(
'/unibox/threads/$threadId/mark-as-read',
data: {
'api_key': _apiKey,
},
);
}