AppticsCrashTracker class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
autoCrashTracker(
) → Future< void> -
disableANR(
) → Future< void> -
enableANR(
) → Future< void> -
getLastCrashInfo(
) → Future< String?> - Provides the last app crash info.
-
isANREnabled(
) → Future< bool?> -
makeANR(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendException(
dynamic exception, StackTrace? stack, {dynamic reason, bool? isCrashPrint, bool isFatal = true}) → Future< void> -
sendFlutterException(
FlutterErrorDetails flutterErrorDetails, {bool isFatal = true}) → Future< void> -
sendFlutterNonFatalException(
FlutterErrorDetails flutterErrorDetails) → Future< void> - Record a non-fatal exception. Non-async exceptions should use this methods
-
sendNonFatalException(
dynamic exception, StackTrace? stack) → Future< void> - Record a non-fatal exception. Async exceptions should use this methods
-
setAttemptInstantSync(
bool isEnable) → Future< void> - Try to sync crash instantly before app termination. Disabled by default. @param boolean.
-
setCrashCustomProperty(
Map< String, dynamic> properties) → Future<void> - This method allows you to include custom information with your crash report that can help you troubleshoot the issue. @param properties any object that is conforms to JSON Encoding
-
showLastSessionCrashedPopup(
) → Future< void> - Call the below method on an appropriate screen in your app. This will present a pop-up only if the app has crashed in the previous sessions while the crash tracking was disabled.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → AppticsCrashTracker
-
no setter