json_factory_generator 1.0.2 copy "json_factory_generator: ^1.0.2" to clipboard
json_factory_generator: ^1.0.2 copied to clipboard

A code generator that creates centralized, type-safe JSON factories for Dart models with automatic discovery and List<T> support.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add json_factory_generator

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

dependencies:
  json_factory_generator: ^1.0.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:json_factory_generator/json_factory_generator.dart';
7
likes
130
points
87
downloads

Publisher

unverified uploader

Weekly Downloads

A code generator that creates centralized, type-safe JSON factories for Dart models with automatic discovery and List<T> support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, glob, json_factory_annotation, meta, source_gen

More

Packages that depend on json_factory_generator