CrashReporting class
Sets up automatic crash reporting by overriding Flutter's built-in error handlers.
Returns a function that runs the app inside a runZonedGuarded zone.
Constructors
- CrashReporting(ErrorReporter _reporter)
- Creates a new CrashReporting instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInstalled → bool
-
Whether crash reporting has been installed.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
install(
) → void - Installs crash reporting hooks.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runAppGuarded(
Widget app) → void -
Runs the given
appwidget inside a runZonedGuarded zone that catches uncaught async errors, then calls runApp. -
toString(
) → String -
A string representation of this object.
inherited
-
uninstall(
) → void - Uninstalls crash reporting hooks, restoring previous handlers.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited