date property

DateTime get date

The timestamp as a DateTime instance.

Implementation

DateTime get date => DateTime.fromMillisecondsSinceEpoch(_timestamp * 1000);