AppMetricaErrorDescription.fromObjectAndStackTrace constructor

AppMetricaErrorDescription.fromObjectAndStackTrace(
  1. Object error,
  2. StackTrace trace
)

Creates AppMetricaErrorDescription from the description of the error error and the stacktrace where the error trace occurred.

Implementation

AppMetricaErrorDescription.fromObjectAndStackTrace(
    Object error, StackTrace trace)
    : message = error.toString(),
      type = error.runtimeType.toString(),
      stackTrace = trace;