searchMessages method Null safety

Future<MailSearchResult> searchMessages(
  1. MailSearch search
)

Searches the messages with the criteria defined in search.

Compare searchMessagesNextPage for retrieving the next page of search results.

Implementation

Future<MailSearchResult> searchMessages(MailSearch search) {
  return _incomingMailClient.searchMessages(search);
}