How I fixed it:
I intercepted the Cache-Control header in my Flutter Dio client and transformed these invalid max-age values into the correct number of seconds. Key parts of the fix:
Added a regex to recognize durations like max-age=1.00:00:00.
Parsed the days, hours, minutes, and seconds and converted them into seconds.
Replaced the header value with max-age=86400 (for 1 day).
This happens before the cache parsing, preventing the exception.
hashtag#FlutterDev hashtag#GIS hashtag#ArcGIS hashtag#MobileDev hashtag#DartLang hashtag#HttpCaching hashtag#Dio hashtag#FlutterTips hashtag#ArcGISMapsSDK hashtag#ESRI
