withers_extension 0.9.0 copy "withers_extension: ^0.9.0" to clipboard
withers_extension: ^0.9.0 copied to clipboard

Uses class_extensions to generate withers. Withers are a convenient way of constructing copies of immutable objects with altered values.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add withers_extension

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

dependencies:
  withers_extension: ^0.9.0

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

Import it

Now in your Dart code, you can use:

import 'package:withers_extension/withers_extension.dart';
1
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Uses class_extensions to generate withers. Withers are a convenient way of constructing copies of immutable objects with altered values.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

analyzer, build, class_extensions, source_gen, withers_extension_annotations

More

Packages that depend on withers_extension