LukeMoody01 / mason_bricks

A collection of bricks that enable developers to be more productive when writing code.
MIT License
109 stars 43 forks source link

feat: Add freezed as an option to the model brick #13

Closed LukeMoody01 closed 2 years ago

LukeMoody01 commented 2 years ago

Brick

Description

Add the option for a freezed model.

Desired Solution

Give the user an option to pick a version of the mode (freezed, json_serializable, none)

Uses the enum as a conditional

Additional Context

Suggestion from -> https://twitter.com/Daniel_Felten/status/1541052175094267904