lucid_array_dart_generator 0.0.1
lucid_array_dart_generator: ^0.0.1 copied to clipboard
Generate namespaced DTOs and ApiService clients from Swagger/OpenAPI specs for Flutter apps.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate lucid_array_dart_generatorUse it
The package has the following executables:
$ swagger_gen
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add lucid_array_dart_generatorThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
lucid_array_dart_generator: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:lucid_array_dart_generator/lucid_array_dart_generator.dart';