PlatformDispatcherWrapper class

This class wraps the this as dynamic hack in a type-safe manner. It helps to introduce code, which uses newer features from Flutter without breaking Sentry on older versions of Flutter.

Annotations

Constructors

PlatformDispatcherWrapper(PlatformDispatcher? _dispatcher)

Properties

hashCode int
The hash code for this object.
no setterinherited
onError ErrorCallback?
Should not be accessed if isOnErrorSupported == false
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isOnErrorSupported(SentryFlutterOptions options) bool
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