lex_gen 0.4.4
lex_gen: ^0.4.4 copied to clipboard
Provides a generator that automatically generates source code from the Lexicon in the AT Protocol.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add lex_genWith Flutter:
$ flutter pub add lex_genThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
lex_gen: ^0.4.4Alternatively, 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:lex_gen/lex_gen.dart';