ETagOptions class

Options for configuring ETag generation.

Constructors

ETagOptions({bool weak = false, ETagGenerator? generator})
Creates ETag options with the specified configuration.
const
ETagOptions.weak()
Creates options for weak ETags.
const

Properties

generator ETagGenerator?
Custom ETag generator function.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weak bool
Whether to generate weak ETags (W/"...").
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