0 purchases
sweet cookie
A sweet way to manage cookies in dart 🍪. You can easily manage cookies in your application.
Installing #
Run pub get.
dart pub add sweet_cookie
copied to clipboard
Import package.
import 'package:sweet_cookie/sweet_cookie.dart';
copied to clipboard
Using #
Save a cookie:
SweetCookie.set('name', 'value');
copied to clipboard
Get a cookie:
SweetCookie.get('name');
copied to clipboard
Delete a cookie:
SweetCookie.delete('name');
copied to clipboard
Delete all cookies:
SweetCookie.clear();
copied to clipboard
Developer #
Thiago da Silva Teixeira
License #
Released under the MIT License.
Contributing #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.