SentryClient class

Logs crash reports and events to the Sentry.io service.

Constructors

SentryClient(SentryOptions options)
Instantiates a client using SentryOptions
factory

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

captureEvent(SentryEvent event, {Scope? scope, dynamic stackTrace, dynamic hint}) Future<SentryId>
Reports an event to Sentry.io.
captureException(dynamic throwable, {dynamic stackTrace, Scope? scope, dynamic hint}) Future<SentryId>
Reports the throwable and optionally its stackTrace to Sentry.io.
captureMessage(String formatted, {SentryLevel? level, String? template, List? params, Scope? scope, dynamic hint}) Future<SentryId>
Reports the template
close() → void
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