getUtcDateTime function

  1. @internal
DateTime getUtcDateTime()

Sentry does not take a timezone and instead expects the date-time to be submitted in UTC timezone.

Implementation

@internal
DateTime getUtcDateTime() => DateTime.now().toUtc();