getETag method
- String viewId
Get the cached ETag for a view (for delta updates).
Implementation
Future<String?> getETag(String viewId) async {
final raw = await storage.read('$_prefix$viewId');
if (raw == null) return null;
final json = jsonDecode(raw) as Map<String, dynamic>;
return json['etag'] as String?;
}