draft 0.0.12 copy "draft: ^0.0.12" to clipboard
draft: ^0.0.12 copied to clipboard

Immer, but for dart. Convert between immutable and mutable objects.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add draft

With Flutter:

 $ flutter pub add draft

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  draft: ^0.0.12

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:draft/draft.dart';
3
likes
160
points
107
downloads

Publisher

verified publisherjosiahsaunders.com

Weekly Downloads

Immer, but for dart. Convert between immutable and mutable objects.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

More

Packages that depend on draft