SimplyticsCrashlogInterface class abstract

Exposes all error monitoring methods for implementation.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
isEnabled bool
Whether the error monitoring service collects reports. If false, no crash reporting data is sent to the service.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

log(String message) Future<void>
Logs a message. Typically, this message is sent with the following error report.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordError(dynamic exception, StackTrace? stackTrace, {dynamic reason, bool fatal = false}) Future<void>
Logs an error Exception and a possible stackTrace.
recordFatalError(dynamic exception, StackTrace? stackTrace, {dynamic reason}) Future<void>
Logs a fatal error Exception and a possible stackTrace.
setCustomKey(String key, Object value) Future<void>
Sets a custom key for the user that usually persists through the apps lifecycle.
setEnabled(bool enabled) Future<void>
Enables/disables automatic data collection using this service class.
setUserId(String id) Future<void>
Sets a user id to associate with all error reports.
toString() String
A string representation of this object.
inherited

Operators

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