api_contract_generator 0.2.0 copy "api_contract_generator: ^0.2.0" to clipboard
api_contract_generator: ^0.2.0 copied to clipboard

Annotation-based code generator for api_contract. Automatically generate API contract definitions from annotated Dart classes.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add api_contract_generator

With Flutter:

 $ flutter pub add api_contract_generator

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

dependencies:
  api_contract_generator: ^0.2.0

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:api_contract_generator/api_contract_generator.dart';
0
likes
140
points
59
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Annotation-based code generator for api_contract. Automatically generate API contract definitions from annotated Dart classes.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, api_contract, build, source_gen

More

Packages that depend on api_contract_generator