parameters 0.0.2 copy "parameters: ^0.0.2" to clipboard
parameters: ^0.0.2 copied to clipboard

Dart project to implement the parameter macro features.

example/lib/main.dart

import 'person.dart';

/*
fvm dart run --enable-experiment=macros lib/main.dart
 */

main() {
  Person personOS = Person.friendOldStyle(name: "John");
  print(personOS);

  Person personMacro = Person.friendWithMacro(name: "John");
  print(personMacro);
}
1
likes
140
pub points
27%
popularity

Publisher

verified publisherlaszlo11.dev

Dart project to implement the parameter macro features.

Repository (GitHub)
View/report issues

Topics

#parameters #macro #parametergroup #constructor

Documentation

API reference

Funding

Consider supporting this project:

www.github.com

License

BSD-3-Clause (license)

Dependencies

dartdoc, flutter, macros

More

Packages that depend on parameters