StoredQuery constructor
StoredQuery({})
The data stored in the database
Implementation
StoredQuery({
required this.key,
required this.data,
required this.createdAt,
this.storageDuration,
}) : expiry = storageDuration == null ? null : createdAt.add(storageDuration);