Skip to main content

zorphy_migrator 3.0.0-dev.2 copy "zorphy_migrator: ^3.0.0-dev.2" to clipboard
zorphy_migrator: ^3.0.0-dev.2 copied to clipboard

Codemod that migrates freezed model classes to zorphy using resolved AST analysis. Converts simple classes, sealed unions, @Default values, and @JsonKey annotations; reports anything that needs human [...]

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate zorphy_migrator

Use it

The package has the following executables:

$ zorphy_migrator

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add zorphy_migrator

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

dependencies:
  zorphy_migrator: ^3.0.0-dev.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:zorphy_migrator/zorphy_migrator.dart';
0
likes
0
points
60
downloads

Publisher

unverified uploader

Weekly Downloads

Codemod that migrates freezed model classes to zorphy using resolved AST analysis. Converts simple classes, sealed unions, @Default values, and @JsonKey annotations; reports anything that needs human attention.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, args, collection, dart_style, path, zorphy_annotation

More

Packages that depend on zorphy_migrator