clearAllDrafts method

Future<Result<Boolean>> clearAllDrafts()

Clear All Drafts.

ID: 7e58ee9c.

Implementation

Future<Result<Boolean>> clearAllDrafts() async {
  // Preparing the request.
  final request = MessagesClearAllDrafts();

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<Boolean>();
}