classy 0.1.0
classy: ^0.1.0 copied to clipboard
This is a package to simplify your dart code, specially classes and make your code more Classy and Cleaner without the normal boilerplate

This is a package to simplify your dart code, specially classes and make your code more Classy and Cleaner without the normal boilerplate
How to Run? #
-
Add the following code into your
analysis_options.yaml
analyzer: enable-experiment: - macros
-
When you're gonna run the project:
- In a Flutter project
flutter run --enable-experiment=macros
- In a Dart project
dart run --enable-experiment=macros
Todos: #
Data #
- [] Data (All Contructors at once and Getters and Setters)
Constructors #
- ✅ Constructor
- ✅ ToJson
- ✅ FromJson
Constructors Helpers #
- [] Value (value[Initilization of the field like 0 or ""],jsonName[The field name in Json], ignore[t/f], level[public/private])
- [] JsonValue
- [] Ignore
Methods #
- [] Getters
- [] Setters
- [] ToString
- [] EqualTo
- [] HashCode
- [] CopyWith
Utils #
Classes
- [] Omit
- [] Exclude
- [] Pick
- [] Extract
- [] Required
- [] Partial
Methods
- [] Awaited
- [] ReturnType
- [] Parameters