reportZoneStacktrace abstract method
Future<void>
reportZoneStacktrace(
- dynamic error,
- StackTrace stacktrace, {
- Platform? platform,
inherited
Report an error with error and stacktrace inside of a zone.^
If error is null or if there is no error.runtimeType available the error will not be reported.
Example:
import 'package:dynatrace_flutter_plugin/dynatrace_flutter_plugin.dart';
runZonedGuarded<Future<void>>(() async {
Fail();
}, Dynatrace().reportZoneStacktrace);
For more information, see Dynatrace documentation.
Implementation
Future<void> reportZoneStacktrace(
dynamic error,
StackTrace stacktrace, {
Platform? platform,
});