cookie_jar library Null safety

A cookie manager for http requests, by which you can deal with the complex cookie policy and persist cookies easily.

A open source project authorized by https://flutterchina.club.

Classes

CookieJar
CookieJar is a cookie manager for http requests。
DefaultCookieJar
DefaultCookieJar is a default cookie manager which implements the standard cookie policy declared in RFC. DefaultCookieJar saves the cookies in RAM, so if the application exit, all cookies will be cleared.
FileStorage
Save cookies in files
PersistCookieJar
PersistCookieJar is a cookie manager which implements the standard cookie policy declared in RFC. PersistCookieJar persists the cookies in files, so if the application exit, the cookies always exist unless call delete explicitly.
SerializableCookie
This class is a wrapper for Cookie class. Because the Cookie class doesn't support Json serialization, for the sake of persistence, we use this class instead of it.
Storage