classy 0.1.0 copy "classy: ^0.1.0" to clipboard
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? #

  1. Add the following code into your analysis_options.yaml

    analyzer:
    enable-experiment:
    - macros
    
  2. 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
0
likes
0
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

This is a package to simplify your dart code, specially classes and make your code more Classy and Cleaner without the normal boilerplate

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

macros

More

Packages that depend on classy