onError method

void onError(
  1. Object? error,
  2. StackTrace stackTrace
)

Implementation

void onError(Object? error, StackTrace stackTrace) {
  AppMetricaActivationConfigHolder.lastActivationConfig = null;
  if (error != null) {
    throw error;
  }
}