CacheObj constructor
CacheObj(})
Implementation
factory CacheObj(String key, List<int> content,
{String? subKey = "",
Duration? maxAge,
Duration? maxStale,
int? statusCode = 200,
List<int>? headers}) {
return CacheObj._(key, subKey, content, statusCode, headers)
..maxAge = maxAge
..maxStale = maxStale;
}