RunZonedGuardedIntegration class

Integration that runs runner function within runZonedGuarded and capture errors on the runZonedGuarded error handler. See https://api.dart.dev/stable/dart-async/runZonedGuarded.html

This integration also records calls to print() as Breadcrumbs. This can be configured with SentryOptions.enablePrintBreadcrumbs

Inheritance

Constructors

RunZonedGuardedIntegration(Future<void> _runner())

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

call(Hub hub, SentryOptions options) FutureOr<void>
A Callable method for the Integration interface
override
close() FutureOr<void>
NoOp by default : only closeable integrations need to override
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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