DVContentServed<T> class

What to serve for a document, and how it may be served.

Properties

cacheable → bool
A preview is never cached, so it can never be served from a cache to somebody without the link.
no setter
cacheTags → List<String>
The tags a response for the published version is cached under. Empty for a preview.
final
document → T
no setter
hashCode → int
The hash code for this object.
no setterinherited
isPreview → bool
Whether this is an unpublished version shown through a preview link.
final
noindex → bool
A preview carries noindex: a draft a crawler can reach is published.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → DVContentVersion<T>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited