notify method

  1. @override
Future<void> notify(
  1. dynamic error,
  2. StackTrace? stackTrace, {
  3. BugsnagOnErrorCallback? callback,
})
inherited

Notify Bugsnag of a handled exception.

The callback can be specified to modify the generated event before it is delivered to Bugsnag.

Implementation

@override
Future<void> notify(
  dynamic error,
  StackTrace? stackTrace, {
  BugsnagOnErrorCallback? callback,
}) =>
    client.notify(error, stackTrace, callback: callback);