rest_client_builder_generator 1.4.3
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_generatorWith Flutter:
$ flutter pub add rest_client_builder_generatorThis 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.3Alternatively, 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';