smotastic / smartstruct

Dart Code Generator for generating mapper classes
35 stars 20 forks source link

Static functional mapping not working #69

Closed smotastic closed 2 years ago

smotastic commented 2 years ago

Fixes #68

Because I can't really differentiate between a static method where I want the helper to be generated and a static method which I want to use as a functional helper, I created a new annotation IgnoreMappingn to let the user decide for which he wants a generated Method (default every method gets one) or he does not want one. Then he should use the IgnoreMapping Annotation (e.g on Enums, Lists etc, basically everything you want to use for your functional mapping)