super_enum 0.5.0 copy "super_enum: ^0.5.0" to clipboard
super_enum: ^0.5.0 copied to clipboard

discontinuedreplaced by: freezed

Create super-powered enums similar to sealed classes in Kotlin.

0.5.0 #

0.4.2 #

0.4.1 #

0.4.0 #

  • Added support for generic data types DataField<List<foo>>('foos') eg : List, Map, BuiltList etc

  • Added support for union types. @UseClass()

  • Made the generated code more cohesive with generics.

  • Bug fixes and improvements.

0.3.0 #

  • Added two new 'whenX' methods.

    • whenOrElse
    • whenPartial
  • Bug fixes and improvements.

0.2.0 #

  • Make object classes singleton.

  • Make Data classes Equatable

    • '=='
    • 'hashCode'
    • 'toString'

0.1.0 #

  • Added a proper example.

0.0.1+1 #

  • Fix homepage link.

0.0.1 #

  • Initial Release.
64
likes
40
points
56
downloads

Publisher

verified publisherxdsahil.dev

Weekly Downloads

Create super-powered enums similar to sealed classes in Kotlin.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

equatable, meta

More

Packages that depend on super_enum