union_generator 2.5.3
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_generatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
union_generator: ^2.5.3Alternatively, 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';