CacheModel constructor
CacheModel({
- required DateTime? expirationDateTime,
- required dynamic value,
Constructor for CacheModel.
expirationDateTime
is the time when the cached data expires,
and value
is the actual cached data.
Implementation
CacheModel({
required this.expirationDateTime,
required this.value,
});