buildEvent method

SentryEvent buildEvent(
  1. Report report,
  2. Map<String, dynamic> tags
)

Implementation

SentryEvent buildEvent(Report report, Map<String, dynamic> tags) =>
    SentryEvent(
      logger: loggerName,
      serverName: serverName,
      release: customRelease ?? _getApplicationVersion(report),
      environment: customEnvironment ??
          (report.applicationParameters['environment'] as String?),
      message: SentryMessage(report.error.toString()),
      throwable: report.error,
      level: SentryLevel.error,
      culprit: '',
      tags: changeToSentryMap(tags),
      user: userContext,
    );