BeforeSendCallback typedef
BeforeSendCallback =
SentryEvent? Function(SentryEvent event, {dynamic hint})
This function is called with an SDK specific event object and can return a modified event object or nothing to skip reporting the event
Implementation
typedef BeforeSendCallback = SentryEvent? Function(SentryEvent event,
{dynamic hint});