notify abstract method
Notify Bugsnag of a handled exception.
The callback
can be specified to modify the generated event before it
is delivered to Bugsnag.
Implementation
Future<void> notify(
dynamic error,
StackTrace? stackTrace, {
BugsnagOnErrorCallback? callback,
});