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

Annotation for centralized, type-safe JSON factory generation in Dart models. Supports generic API responses and complex object graphs.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add json_factory_annotation

With Flutter:

 $ flutter pub add json_factory_annotation

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

dependencies:
  json_factory_annotation: ^1.0.2

Alternatively, your editor might support dart pub get or flutter 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_annotation/json_factory_annotation.dart';
0
likes
160
points
75
downloads

Publisher

unverified uploader

Weekly Downloads

Annotation for centralized, type-safe JSON factory generation in Dart models. Supports generic API responses and complex object graphs.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on json_factory_annotation