tom_d4rt_generator 1.8.21
tom_d4rt_generator: ^1.8.21 copied to clipboard
D4rt bridge generator for creating BridgedClass implementations from Dart source. Supports per-package generation, deduplication, and cross-package bridging.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate tom_d4rt_generatorUse it
The package has the following executables:
$ d4rtgen
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add tom_d4rt_generatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
tom_d4rt_generator: ^1.8.21Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:tom_d4rt_generator/tom_d4rt_generator.dart';