modddels_annotation_dartz 0.2.0 copy "modddels_annotation_dartz: ^0.2.0" to clipboard
modddels_annotation_dartz: ^0.2.0 copied to clipboard

Annotations for the modddels code-generator when using dartz.

0.2.0 #

  • Require Dart 3.0

  • Update dependencies

  • The annotations' classes that have a constant variable are no longer exported (For example : ValidParam is not exported because there is the validParam constant).

  • Breaking change : For custom Iterable2Entity kinds, the method $collectionToIterable should return a record of the two iterables instead of a Tuple2.

    Example :

    // Old :
    Tuple2<Iterable<R1>, Iterable<R2>> $collectionToIterable<R1, R2>(
            Map<R1, R2> collection) =>
        Tuple2(collection.keys, collection.values);
    
    // New :
    (Iterable<R1>, Iterable<R2>) $collectionToIterable<R1, R2>(
            Map<R1, R2> collection) =>
        (collection.keys, collection.values);
    

0.1.0 #

Initial release

1
likes
130
points
6
downloads

Publisher

verified publishercodingsoot.com

Weekly Downloads

Annotations for the modddels code-generator when using dartz.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

dartz, equatable, kt_dart, meta, modddels_annotation_internal, test

More

Packages that depend on modddels_annotation_dartz