data_class_macro 0.0.0-dev.12 copy "data_class_macro: ^0.0.0-dev.12" to clipboard
data_class_macro: ^0.0.0-dev.12 copied to clipboard

discontinuedreplaced by: data_class

Experimental support for data classes in Dart using pkg:macros

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add data_class_macro
copied to clipboard

With Flutter:

 $ flutter pub add data_class_macro
copied to clipboard

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

dependencies:
  data_class_macro: ^0.0.0-dev.12
copied to clipboard

Alternatively, 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:data_class_macro/data_class_macro.dart';
copied to clipboard
23
likes
140
points
36
downloads

Publisher

verified publisherfelangel.dev

Weekly Downloads

2024.08.26 - 2025.03.10

Experimental support for data classes in Dart using pkg:macros

Topics

#macros #data-class

Documentation

API reference

License

MIT (license)

Dependencies

collection, macros

More

Packages that depend on data_class_macro