currentTime property

int get currentTime

Datadog expects the time to be in seconds.

Implementation

int get currentTime =>
    (DateTime.now().toUtc().millisecondsSinceEpoch / 1000).round();