BeforeBreadcrumbCallback typedef

BeforeBreadcrumbCallback = Breadcrumb? Function(Breadcrumb? breadcrumb, {Hint? hint})

This function is called with an SDK specific breadcrumb object before the breadcrumb is added to the scope. When nothing is returned from the function, the breadcrumb is dropped

Implementation

typedef BeforeBreadcrumbCallback = Breadcrumb? Function(
  Breadcrumb? breadcrumb, {
  Hint? hint,
});