Entity<Key extends EntityKey>.from constructor
Entity<Key extends EntityKey>.from (
- dynamic source
Constructs an Entity object from a dynamic source.
Implementation
factory Entity.from(dynamic source) {
return Entity(
id: Entity.autoId(source),
timeMills: Entity.autoTimeMills(source),
);
}