rest_client_builder 1.4.0
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_builderWith Flutter:
$ flutter pub add rest_client_builderThis 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.0Alternatively, 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';