AppMetricaErrorDescription.fromCurrentStackTrace constructor

AppMetricaErrorDescription.fromCurrentStackTrace({
  1. String? message,
  2. String? type,
})

Creates AppMetricaErrorDescription from the error message message and its type type with the current stacktrace.

Implementation

AppMetricaErrorDescription.fromCurrentStackTrace({this.message, this.type})
    : stackTrace = StackTrace.current;