AppMetricaErrorDescription class

A class for transmitting to AppMetrica those errors that occur when the application is running.

Constructors

AppMetricaErrorDescription(StackTrace stackTrace, {String? message, String? type})
Creates AppMetricaErrorDescription. stackTrace is a required parameter.
AppMetricaErrorDescription.fromCurrentStackTrace({String? message, String? type})
Creates AppMetricaErrorDescription from the error message message and its type type with the current stacktrace.
AppMetricaErrorDescription.fromFlutterErrorDetails(FlutterErrorDetails details)
Creates AppMetricaErrorDescription from FlutterErrorDetails.
AppMetricaErrorDescription.fromObjectAndStackTrace(Object error, StackTrace trace)
Creates AppMetricaErrorDescription from the description of the error error and the stacktrace where the error trace occurred.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
final
type String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited