putMailReadReceiptsPref method

Future<void> putMailReadReceiptsPref(
  1. Map<String, Object> requestBody
)

Update the caller's mail-read-receipts preference.

Parameters:

Implementation

Future<void> putMailReadReceiptsPref(Map<String, Object> requestBody,) async {
  final response = await putMailReadReceiptsPrefWithHttpInfo(requestBody,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}