sentryDsn property

String get sentryDsn

Gets the Sentry DSN from the environment variables.

Returns:

  • The Sentry DSN as a string.

Implementation

String get sentryDsn {
  if (kDebugMode) {
    return env["SENTRY_DSN_DEV"]!;
  }
  return env["SENTRY_DSN"]!;
}