PersistedData<DataT> constructor
A state representation of how the data is persisted.
This includes the data itself, along with various metadata that should also be persisted.
Implementation
const PersistedData(this.data, {this.destroyKey, this.expireAt});