Dsn class

The Data Source Name (DSN) tells the SDK where to send the events

Annotations
  • @immutable

Constructors

Dsn({required String publicKey, required String projectId, Uri? uri, String? secretKey})
const
Dsn.parse(String dsn)
Parses a DSN String to a Dsn object
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
postUri → Uri
no setter
projectId → String
The ID issued by Sentry.io to your project.
final
publicKey → String
The Sentry.io public key for the project.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secretKey → String?
The Sentry.io secret key for the project.
final
uri → Uri?
The DSN URI.
final

Methods

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