rest_client_builder 1.4.0 copy "rest_client_builder: ^1.4.0" to clipboard
rest_client_builder: ^1.4.0 copied to clipboard

A Clean Architecture code-generation framework for building typed REST API clients in Dart and Flutter using annotations and build_runner.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add rest_client_builder

With Flutter:

 $ flutter pub add rest_client_builder

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

dependencies:
  rest_client_builder: ^1.4.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:rest_client_builder/rest_client_builder.dart';
2
likes
160
points
634
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Clean Architecture code-generation framework for building typed REST API clients in Dart and Flutter using annotations and build_runner.

Repository (GitHub)
View/report issues

Topics

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

License

MIT (license)

Dependencies

analyzer, build, code_builder, dart_style, dio, json_annotation, meta, source_gen

More

Packages that depend on rest_client_builder