Entity<Key extends EntityKey> constructor
Constructs an Entity object with optional id and timeMills.
Implementation
Entity({
String? id,
int? timeMills,
}) : _id = id ?? generateID,
_timeMills = timeMills ?? generateTimeMills;