MailEventFilter typedef Null safety

MailEventFilter = bool Function(MailEvent event)

Definition for optional event filters, compare MailClient.addEventFilter.

Implementation

typedef MailEventFilter = bool Function(MailEvent event);