rest_client_builder_generator 1.4.3 copy "rest_client_builder_generator: ^1.4.3" to clipboard
rest_client_builder_generator: ^1.4.3 copied to clipboard

Code-generation builder for rest_client_builder. Provides build_runner builders that generate typed REST client implementations and JSON serialization helpers from @RestApi, @RestModel, and @RestConfi [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add rest_client_builder_generator

With Flutter:

 $ flutter pub add rest_client_builder_generator

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

dependencies:
  rest_client_builder_generator: ^1.4.3

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:rest_client_builder_generator/builder.dart';
0
likes
130
points
63
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Code-generation builder for rest_client_builder. Provides build_runner builders that generate typed REST client implementations and JSON serialization helpers from @RestApi, @RestModel, and @RestConfiguration annotations. Add this to dev_dependencies only.

Topics

#rest #api #codegen #build-runner #clean-architecture

License

MIT (license)

Dependencies

analyzer, build, code_builder, dart_style, glob, json_annotation, rest_client_builder, source_gen

More

Packages that depend on rest_client_builder_generator