reportError static method

Future<void> reportError({
  1. String? message,
  2. AppMetricaErrorDescription? errorDescription,
})

AppMetrica wrapper

Implementation

static Future<void> reportError({String? message, AppMetricaErrorDescription? errorDescription}) async {
  if (kIsWeb || !Platform.isAndroid && !Platform.isIOS) return;
  await m.AppMetrica.reportError(message: message, errorDescription: errorDescription);
}