EntryBuilder<T, I extends Info, E extends Entry<I> > constructor
EntryBuilder<T, I extends Info, E extends Entry<I> > (})
Builds a EntryBuilder
- key: The entry key
- value: The entry value
- creationTime: The entry creation time
- state: The entry state
accessTime
: The access timeupdateTime
: The update time
Implementation
EntryBuilder(this.key, this.value, this.creationTime,
{DateTime? accessTime, DateTime? updateTime})
: state = EntryState.added,
accessTime = accessTime ?? creationTime,
updateTime = updateTime ?? creationTime;