saveCookies abstract method
Saves cookies for the specified URI.
Platform behavior:
- Web: Saves to browser's cookie store
- Mobile: Saves to local encrypted storage
Duplicate handling: When multiple cookies have the same name, the last occurrence takes precedence. This follows standard HTTP cookie behavior.
Parameters:
uri: The URI to associate cookies withcookies: List of cookies to save
Implementation
void saveCookies(Uri uri, List<Cookie> cookies);