deleteHistoryItem method

Future<bool> deleteHistoryItem(
  1. String historyItemId
)

Delete a history item Returns true if successful

Implementation

Future<bool> deleteHistoryItem(String historyItemId) async {
  try {
    await _dio.delete('/v1/history/$historyItemId');
    return true;
  } catch (error) {
    throw _handleError(error);
  }
}