unhandled_error_reporter 1.0.5
unhandled_error_reporter: ^1.0.5 copied to clipboard
Report Any unhandled exception/error/failure to backend service as [ stacktrace, Device information, Risk level of this error ].
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add unhandled_error_reporter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
unhandled_error_reporter: ^1.0.5
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:unhandled_error_reporter/unhandled_error_reporter.dart';