Entity<T extends Object>.create constructor
const
Entity<T extends Object>.create (
- T data,
- EntityValidator validator
Creates an entity with data
validated by validator
Implementation
const factory Entity.create(T data, EntityValidator validator) = EntityImpl<T>;