Info constructor

Info(
  1. String key,
  2. DateTime creationTime, {
  3. DateTime? accessTime,
  4. DateTime? updateTime,
})

Builds a Info

  • key: The key
  • creationTime: The creation time
  • accessTime: The access time
  • updateTime: The update time

Implementation

Info(this.key, this.creationTime,
    {DateTime? accessTime, DateTime? updateTime})
    : accessTime = accessTime ?? creationTime,
      updateTime = updateTime ?? creationTime;