frx_generator 1.0.6 copy "frx_generator: ^1.0.6" to clipboard
frx_generator: ^1.0.6 copied to clipboard

Code generator for frx_annotation package that generates pattern matching methods for union types in Dart

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add frx_generator

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

dependencies:
  frx_generator: ^1.0.6

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

Import it

Now in your Dart code, you can use:

import 'package:frx_generator/frx_generator.dart';
2
likes
130
points
64
downloads

Publisher

unverified uploader

Weekly Downloads

Code generator for frx_annotation package that generates pattern matching methods for union types in Dart

Repository (GitHub)
View/report issues

Topics

#codegen #pattern-matching #union-types #generator

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, flutter, frx_annotation, source_gen, source_helper

More

Packages that depend on frx_generator