onActionRejected method

  1. @override
void onActionRejected(
  1. Report report
)
override

Code which should be triggered if report mode has been rejected

Implementation

@override
void onActionRejected(Report report) {
  _currentConfig.handlers
      .where((handler) => handler.shouldHandleWhenRejected())
      .forEach((handler) {
    _handleReport(report, handler);
  });

  _cachedReports.remove(report);
}