getTimestamp method

DateTime getTimestamp()

Returns the timestamp of the event.

Implementation

DateTime getTimestamp() => _timestamp ?? DateTime.now();