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

outdated

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.1.2

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/annotations.dart';
import 'package:withers_extension/builder.dart';
1
likes
0
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

unknown (LICENSE)

Dependencies

analyzer, build, class_extensions, source_gen

More

Packages that depend on withers_extension