date property Null safety

DateTime date

The timestamp as a DateTime instance.

Implementation

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