findSent method

Gets all messages matching the predicate.

Implementation

List<MailMessageInterface> findSent(
  bool Function(MailMessageInterface) predicate,
) {
  return _sent.where(predicate).toList();
}