emptyInbox method

Future<void> emptyInbox(
  1. String inboxId
)

Delete all emails in an inbox

Deletes all emails

Parameters:

Implementation

Future<void> emptyInbox(String inboxId,) async {
  final response = await emptyInboxWithHttpInfo(inboxId,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}