timestamp property

DateTime get timestamp

Always check isEmpty before using this. Falls back to DateTime.now if timestamp is null.

Implementation

DateTime get timestamp => timestampOrNull ?? DateTime.now();