getETag method
Returns the value of the ETag header.
- If null is returned, ETag header won't be generated.
- Default: a string combining
lastModified
andassetSize
- if useETag is true.
- You can override this method if necessary.
Implementation
String? getETag(Asset asset, DateTime lastModified, int assetSize)
=> useETag ? _getETag(lastModified, assetSize): null;