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

outdated

This package allows programmers to reduce certain usages of dynamic reflection to a statically specified subset thereof, based on generated code with the same behavior as mirrors provided by 'dart:mir [...]

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: ^2.0.2

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
0
pub points
95%
popularity

Publisher

unverified uploader

This package allows programmers to reduce certain usages of dynamic reflection to a statically specified subset thereof, based on generated code with the same behavior as mirrors provided by 'dart:mirrors'. The generated code does not use dynamic reflection and thus improves the resource economy (esp. by using a smaller amount of space than dart2js generated code).

Homepage

License

unknown (LICENSE)

Dependencies

analyzer, barback, build, build_barback, build_config, build_runner, code_transformers, dart_style, glob, logging, package_config, package_resolver, path, source_span

More

Packages that depend on reflectable