ack_generator 1.6.2 copy "ack_generator: ^1.6.2" to clipboard
ack_generator: ^1.6.2 copied to clipboard

Generates immutable models from Ack schemas and validated schemas from Dart classes

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ack_generator

With Flutter:

 $ flutter pub add ack_generator

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

dependencies:
  ack_generator: ^1.6.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:ack_generator/ack_generator.dart';
1
likes
140
points
1.35k
downloads

Documentation

API reference

Publisher

verified publisherleoafarias.com

Weekly Downloads

Generates immutable models from Ack schemas and validated schemas from Dart classes

Topics

#codegen #build-runner #validation #schema

License

BSD-3-Clause (license)

Dependencies

ack, ack_annotations, analyzer, build, build_config, code_builder, collection, dart_style, json_annotation, json_serializable, logging, meta, source_gen

More

Packages that depend on ack_generator