modddels_annotation_dartz 0.2.0
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 :
ValidParamis not exported because there is thevalidParamconstant). -
Breaking change : For custom Iterable2Entity kinds, the method
$collectionToIterableshould return a record of the two iterables instead of aTuple2.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