union_generator 2.5.3 copy "union_generator: ^2.5.3" to clipboard
union_generator: ^2.5.3 copied to clipboard

Code generator for the union_utils, a library allowing to generate utilities for union types.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add union_generator

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

dependencies:
  union_generator: ^2.5.3

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:union_generator/union_generator.dart';
1
likes
140
points
10
downloads

Publisher

unverified uploader

Weekly Downloads

Code generator for the union_utils, a library allowing to generate utilities for union types.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, collection, source_gen, union_annotation

More

Packages that depend on union_generator