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 keyvalue
: The entry valuecreationTime
: 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;