SentryHandler class Null safety

Inheritance

Constructors

SentryHandler(SentryClient sentryClient, {SentryUser? userContext, bool enableDeviceParameters = true, bool enableApplicationParameters = true, bool enableCustomParameters = true, bool printLogs = true, String? customEnvironment, String? customRelease})

Properties

customEnvironment String?
Custom environment, if null, Catcher will generate it
final
customRelease String?
Custom release, if null, Catcher will generate it
final
enableApplicationParameters bool
Enable application parameters to be generated by Catcher
final
enableCustomParameters bool
Enable custom parameters to be generated by Catcher
final
enableDeviceParameters bool
Enable device parameters to be generated by Catcher
final
hashCode int
The hash code for this object. [...]
read-only, inherited
localizationOptions LocalizationOptions
Get currently used localization options
read-only, inherited
logger CatcherLogger
Logger instance
read / write, inherited
printLogs bool
Enable additional logs printing
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sentryClient SentryClient
Sentry Client instance
final
userContext SentryUser?
User data
read / write

Methods

buildEvent(Report report, Map<String, dynamic> tags) SentryEvent
changeToSentryMap(Map<String, dynamic> map) Map<String, String>
getSupportedPlatforms() List<PlatformType>
Get list of supported platforms
override
handle(Report error, BuildContext? context) Future<bool>
Method called when report has been accepted by user
override
isContextRequired() bool
Check if given report mode requires context to run
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setLocalizationOptions(LocalizationOptions? localizationOptions) → void
Set localization options (translations) to this report mode
inherited
shouldHandleWhenRejected() bool
Check whether report mode should auto confirm without user confirmation.
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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