reflectable 1.0.4 copy "reflectable: ^1.0.4" to clipboard
reflectable: ^1.0.4 copied to clipboard

outdatedDart 1 only

This package allows programmers to reduce certain usages of dynamic reflection to a transformer generated specialization with the same behavior. The generated code does not use dynamic reflection and [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add reflectable

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  reflectable: ^1.0.4

Alternatively, 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:reflectable/reflectable.dart';
157
likes
20
pub points
95%
popularity

Publisher

unverified uploader

This package allows programmers to reduce certain usages of dynamic reflection to a transformer generated specialization with the same behavior. The generated code does not use dynamic reflection and thus improves the performance of (esp. dart2js) generated code.

Homepage

License

BSD-3-Clause (LICENSE)

Dependencies

analyzer, barback, code_transformers, dart_style, glob, logging, path, source_span

More

Packages that depend on reflectable